felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pa...@apache.org
Subject svn commit: r1333612 - /felix/trunk/framework/src/main/java/org/apache/felix/framework/URLHandlers.java
Date Thu, 03 May 2012 20:42:41 GMT
Author: pauls
Date: Thu May  3 20:42:41 2012
New Revision: 1333612

URL: http://svn.apache.org/viewvc?rev=1333612&view=rev
Log:
Adapt the URLHandlers to 4.0 refactoring by including the new name of the bundleclassloader

Modified:
    felix/trunk/framework/src/main/java/org/apache/felix/framework/URLHandlers.java

Modified: felix/trunk/framework/src/main/java/org/apache/felix/framework/URLHandlers.java
URL: http://svn.apache.org/viewvc/felix/trunk/framework/src/main/java/org/apache/felix/framework/URLHandlers.java?rev=1333612&r1=1333611&r2=1333612&view=diff
==============================================================================
--- felix/trunk/framework/src/main/java/org/apache/felix/framework/URLHandlers.java (original)
+++ felix/trunk/framework/src/main/java/org/apache/felix/framework/URLHandlers.java Thu May
 3 20:42:41 2012
@@ -643,7 +643,8 @@ class URLHandlers implements URLStreamHa
             {
                 String name = stack[i].getClassLoader().getClass().getName();
                 if (name.startsWith("org.apache.felix.framework.ModuleImpl$ModuleClassLoader")
-                    || name.equals("org.apache.felix.framework.searchpolicy.ContentClassLoader"))
+                    || name.equals("org.apache.felix.framework.searchpolicy.ContentClassLoader")
+                    || name.startsWith("org.apache.felix.framework.BundleWiringImpl.BundleClassLoader"))
                 {
                     targetClass = stack[i];
                     break;
@@ -699,4 +700,4 @@ class URLHandlers implements URLStreamHa
         }
         return null;
     }
-}
\ No newline at end of file
+}



Mime
View raw message