servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gno...@apache.org
Subject svn commit: r383706 - /incubator/servicemix/trunk/servicemix-core/src/main/java/org/apache/servicemix/jbi/loaders/InstallationClassLoader.java
Date Mon, 06 Mar 2006 23:29:07 GMT
Author: gnodet
Date: Mon Mar  6 15:29:03 2006
New Revision: 383706

URL: http://svn.apache.org/viewcvs?rev=383706&view=rev
Log:
SM-340: InstallationClassLoader only loads classes from the first shared library for a component

Modified:
    incubator/servicemix/trunk/servicemix-core/src/main/java/org/apache/servicemix/jbi/loaders/InstallationClassLoader.java

Modified: incubator/servicemix/trunk/servicemix-core/src/main/java/org/apache/servicemix/jbi/loaders/InstallationClassLoader.java
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/servicemix-core/src/main/java/org/apache/servicemix/jbi/loaders/InstallationClassLoader.java?rev=383706&r1=383705&r2=383706&view=diff
==============================================================================
--- incubator/servicemix/trunk/servicemix-core/src/main/java/org/apache/servicemix/jbi/loaders/InstallationClassLoader.java
(original)
+++ incubator/servicemix/trunk/servicemix-core/src/main/java/org/apache/servicemix/jbi/loaders/InstallationClassLoader.java
Mon Mar  6 15:29:03 2006
@@ -77,7 +77,9 @@
             try {
                 ClassLoader cl = (ClassLoader) i.next();
                 result = cl.loadClass(name);
-                break;
+                if (result != null) {
+                    break;
+                }
             }
             catch (ClassNotFoundException cnfe) {
             }



Mime
View raw message