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 2018/06/27 18:06:00 UTC
[jira] [Resolved] (UIMA-5741) protect UIMA Class loader in
multi-threaded get resource contexts
[ https://issues.apache.org/jira/browse/UIMA-5741?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marshall Schor resolved UIMA-5741.
----------------------------------
Resolution: Fixed
> protect UIMA Class loader in multi-threaded get resource contexts
> -----------------------------------------------------------------
>
> Key: UIMA-5741
> URL: https://issues.apache.org/jira/browse/UIMA-5741
> Project: UIMA
> Issue Type: Improvement
> Components: Core Java Framework
> Affects Versions: 2.10.2SDK, 3.0.0SDK
> Reporter: Marshall Schor
> Assignee: Marshall Schor
> Priority: Minor
> Fix For: 3.0.1SDK, 2.10.3SDK
>
>
> I have seen one case where multiple threads were being used where a UIMA Class Loader was being used to load a resource (Type system Descriptor -> type System was resolving an "import by name"), where the getResource returned (only once) a spurious "null" result.
> This is likely due to some multithreading issue in get Resource. Add a sync using the same multi-threaded parallel approach used for class loaded, to getResource, to protect against this case.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)