openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ss...@apache.org
Subject svn commit: r574077 - /openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/util/MultiClassLoader.java
Date Sun, 09 Sep 2007 21:11:40 GMT
Author: ssegu
Date: Sun Sep  9 14:11:40 2007
New Revision: 574077

URL: http://svn.apache.org/viewvc?rev=574077&view=rev
Log:
OPENJPA-363

Modified:
    openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/util/MultiClassLoader.java

Modified: openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/util/MultiClassLoader.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/util/MultiClassLoader.java?rev=574077&r1=574076&r2=574077&view=diff
==============================================================================
--- openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/util/MultiClassLoader.java
(original)
+++ openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/util/MultiClassLoader.java
Sun Sep  9 14:11:40 2007
@@ -246,7 +246,9 @@
             if (loader == THREAD_LOADER)
                 loader = (ClassLoader) AccessController.doPrivileged(
                     J2DoPrivHelper.getContextClassLoaderAction());
-            
+
+            if (loader == null) // skip
+                continue;
 
             try {
                 rsrcs = (Enumeration) AccessController.doPrivileged(



Mime
View raw message