geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ke...@apache.org
Subject svn commit: r400241 - /geronimo/branches/1.1/modules/kernel/src/java/org/apache/geronimo/kernel/config/Configuration.java
Date Sat, 06 May 2006 05:25:15 GMT
Author: kevan
Date: Fri May  5 22:25:13 2006
New Revision: 400241

URL: http://svn.apache.org/viewcvs?rev=400241&view=rev
Log:
Default to use the new JarFileClassLoader. To use the old MultiParentClassLoader, must specify
the property -DXorg.apache.geronimo.OldClassLoader=true

Modified:
    geronimo/branches/1.1/modules/kernel/src/java/org/apache/geronimo/kernel/config/Configuration.java

Modified: geronimo/branches/1.1/modules/kernel/src/java/org/apache/geronimo/kernel/config/Configuration.java
URL: http://svn.apache.org/viewcvs/geronimo/branches/1.1/modules/kernel/src/java/org/apache/geronimo/kernel/config/Configuration.java?rev=400241&r1=400240&r2=400241&view=diff
==============================================================================
--- geronimo/branches/1.1/modules/kernel/src/java/org/apache/geronimo/kernel/config/Configuration.java
(original)
+++ geronimo/branches/1.1/modules/kernel/src/java/org/apache/geronimo/kernel/config/Configuration.java
Fri May  5 22:25:13 2006
@@ -353,15 +353,15 @@
 
         log.debug("ClassPath for " + id + " resolved to " + Arrays.asList(urls));
 
-        if (Boolean.getBoolean("Xorg.apache.geronimo.NewClassLoader")) {
-            return new JarFileClassLoader(environment.getConfigId(),
+        if (Boolean.getBoolean("Xorg.apache.geronimo.OldClassLoader")) {
+            return new MultiParentClassLoader(environment.getConfigId(),
                     urls,
                     parentClassLoaders,
                     environment.isInverseClassLoading(),
                     hiddenClasses,
                     nonOverridableClasses);
         } else {
-            return new MultiParentClassLoader(environment.getConfigId(),
+            return new JarFileClassLoader(environment.getConfigId(),
                     urls,
                     parentClassLoaders,
                     environment.isInverseClassLoading(),



Mime
View raw message