logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mattsic...@apache.org
Subject svn commit: r1611993 - /logging/log4j/log4j2/trunk/log4j-api/src/main/java/org/apache/logging/log4j/util/PropertiesUtil.java
Date Sun, 20 Jul 2014 01:50:29 GMT
Author: mattsicker
Date: Sun Jul 20 01:50:29 2014
New Revision: 1611993

URL: http://svn.apache.org/r1611993
Log:
Use LoaderUtil in PropertiesUtil.

Modified:
    logging/log4j/log4j2/trunk/log4j-api/src/main/java/org/apache/logging/log4j/util/PropertiesUtil.java

Modified: logging/log4j/log4j2/trunk/log4j-api/src/main/java/org/apache/logging/log4j/util/PropertiesUtil.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/log4j-api/src/main/java/org/apache/logging/log4j/util/PropertiesUtil.java?rev=1611993&r1=1611992&r2=1611993&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/log4j-api/src/main/java/org/apache/logging/log4j/util/PropertiesUtil.java
(original)
+++ logging/log4j/log4j2/trunk/log4j-api/src/main/java/org/apache/logging/log4j/util/PropertiesUtil.java
Sun Jul 20 01:50:29 2014
@@ -73,7 +73,7 @@ public final class PropertiesUtil {
     }
 
     public PropertiesUtil(final String propsLocn) {
-        final ClassLoader loader = ProviderUtil.findClassLoader();
+        final ClassLoader loader = LoaderUtil.getThreadContextClassLoader();
         @SuppressWarnings("IOResourceOpenedButNotSafelyClosed")
         final
         Properties properties = new Properties();



Mime
View raw message