You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Marshall Schor (JIRA)" <de...@uima.apache.org> on 2017/05/26 20:05:04 UTC

[jira] [Resolved] (UIMA-5435) UIMA Class Loader getResource doesn't look first in its own resources

     [ https://issues.apache.org/jira/browse/UIMA-5435?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marshall Schor resolved UIMA-5435.
----------------------------------
    Resolution: Fixed

> 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: 3.0.0SDK-alpha02, 2.10.0SDK
>            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)