Marshall Schor created UIMA-5435:
------------------------------------

             Summary: UIMA Class Loader getResource doesn't look first in its 
own resources
                 Key: UIMA-5435
                 URL: https://issues.apache.org/jira/browse/UIMA-5435
             Project: UIMA
          Issue Type: Bug
          Components: Core Java Framework
    Affects Versions: 2.10.0SDK, 3.0.0SDK-alpha02
            Reporter: Marshall Schor
            Assignee: Marshall Schor
            Priority: Minor
             Fix For: 2.10.1SDK, 3.0.0SDK-beta


The UIMAClassLoader stategy is to load from this class loader before delegating 
to its parent.  It does this for classes, but missed doing this for "resources" 
obtained by getResource.  

I think this should be fixed so that a Pear, trying to load its resource, will 
get that resource, and not a same-named one from some parent classloader. 

This might break some existing use cases, as it changes where some resources 
will come from.  



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to