Self-first classloader fails when used with a shared library
------------------------------------------------------------

         Key: SM-430
         URL: https://issues.apache.org/activemq/browse/SM-430
     Project: ServiceMix
        Type: Bug

  Components: servicemix-core  
    Versions: 2.0.2    
    Reporter: Michael Horwitz


The self-first classloader delegates correctly as long as it is not used with a 
shared library.

As soon as a shared library is added, it delegated to the shared library before 
trying to load the class itself. As I read the JBI specification this is not 
correct.

Path in source -> SelfFirstClassLoader calls findClass() on 
InstallationClassLoader, which searches shared libraries before delegating to 
the URLClassLoader parent. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to