Marshall Schor created UIMA-5741:

             Summary: protect UIMA Class loader in multi-threaded get resource 
                 Key: UIMA-5741
             Project: UIMA
          Issue Type: Improvement
          Components: Core Java Framework
    Affects Versions: 3.0.0SDK, 2.10.2SDK
            Reporter: Marshall Schor
            Assignee: Marshall Schor
             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

Reply via email to