Brendon Matthews created AXIS2-5599:
---------------------------------------

             Summary: org.apache.axis2.util.Loader.getResource() is not using 
the classloader that loaded the Loader class as the javadoc suggests.
                 Key: AXIS2-5599
                 URL: https://issues.apache.org/jira/browse/AXIS2-5599
             Project: Axis2
          Issue Type: Bug
          Components: kernel
    Affects Versions: 1.5.6
            Reporter: Brendon Matthews


The getResource() method is not using the classloader that was used to load the 
Loader class as the javadoc suggests. The getResourceAsStream() method includes 
a block of code that uses the Loader's ClassLoader, but the getResource() 
method does not, and both their documented descriptions are the same.

This causes problems loading resources as URLs from specialized class loaders 
when they are not set as the context loader for the thread.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to