commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1139841 - in /commons/proper/digester/trunk/src/main/java/org/apache/commons/digester3: Digester.java binder/DigesterLoader.java
Date Sun, 26 Jun 2011 17:23:41 GMT
Author: simonetripodi
Date: Sun Jun 26 17:23:41 2011
New Revision: 1139841

URL: http://svn.apache.org/viewvc?rev=1139841&view=rev
Log:
[DIGESTER-28] Default ClassLoader policy unusable in EAR archive

Modified:
    commons/proper/digester/trunk/src/main/java/org/apache/commons/digester3/Digester.java
    commons/proper/digester/trunk/src/main/java/org/apache/commons/digester3/binder/DigesterLoader.java

Modified: commons/proper/digester/trunk/src/main/java/org/apache/commons/digester3/Digester.java
URL: http://svn.apache.org/viewvc/commons/proper/digester/trunk/src/main/java/org/apache/commons/digester3/Digester.java?rev=1139841&r1=1139840&r2=1139841&view=diff
==============================================================================
--- commons/proper/digester/trunk/src/main/java/org/apache/commons/digester3/Digester.java
(original)
+++ commons/proper/digester/trunk/src/main/java/org/apache/commons/digester3/Digester.java
Sun Jun 26 17:23:41 2011
@@ -256,9 +256,9 @@ public class Digester
 
     /**
      * Do we want to use the Context ClassLoader when loading classes for instantiating new
objects. Default is
-     * <code>false</code>.
+     * <code>true</code>.
      */
-    private boolean useContextClassLoader = false;
+    private boolean useContextClassLoader = true;
 
     /**
      * Do we want to use a validating parser.

Modified: commons/proper/digester/trunk/src/main/java/org/apache/commons/digester3/binder/DigesterLoader.java
URL: http://svn.apache.org/viewvc/commons/proper/digester/trunk/src/main/java/org/apache/commons/digester3/binder/DigesterLoader.java?rev=1139841&r1=1139840&r2=1139841&view=diff
==============================================================================
--- commons/proper/digester/trunk/src/main/java/org/apache/commons/digester3/binder/DigesterLoader.java
(original)
+++ commons/proper/digester/trunk/src/main/java/org/apache/commons/digester3/binder/DigesterLoader.java
Sun Jun 26 17:23:41 2011
@@ -104,7 +104,7 @@ public final class DigesterLoader
 
     private final Iterable<RulesModule> rulesModules;
 
-    private boolean useContextClassLoader;
+    private boolean useContextClassLoader = true;
 
     /**
      * The class loader to use for instantiating application objects.



Mime
View raw message