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 2015/04/10 16:56:12 UTC

[jira] [Created] (UIMA-4342) Testing utility MultiThreadUtils has sync hole

Marshall Schor created UIMA-4342:
------------------------------------

             Summary: Testing utility MultiThreadUtils has sync hole
                 Key: UIMA-4342
                 URL: https://issues.apache.org/jira/browse/UIMA-4342
             Project: UIMA
          Issue Type: Bug
          Components: Core Java Framework
    Affects Versions: 2.7.0SDK
            Reporter: Marshall Schor
            Assignee: Marshall Schor
            Priority: Minor


I observed occasional failures of tests using the MultiThreadUtils driver.  This was traced to an impl which had two adjacent sync blocks, and the failure happened when another thread ran inbetween these, and changed a state variable.  Fix is to have just one sync block (combine the two).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)