You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by "Cristian Talau (JIRA)" <xe...@xml.apache.org> on 2014/05/20 13:44:38 UTC

[jira] [Created] (XERCESJ-1634) Synchronization problem in XMLGrammarPoolImpl.

Cristian Talau created XERCESJ-1634:
---------------------------------------

             Summary: Synchronization problem in XMLGrammarPoolImpl.
                 Key: XERCESJ-1634
                 URL: https://issues.apache.org/jira/browse/XERCESJ-1634
             Project: Xerces2-J
          Issue Type: Bug
          Components: Other
    Affects Versions: 2.11.0
            Reporter: Cristian Talau
            Priority: Minor
             Fix For: 2.11.0


In the *XMLGrammarPoolImpl* class, most of the methods are synchronized on the fGrammars field, except for *clear*. This may cause *fGrammars* issues.

Fortunately, the field is protected, so as a workaround the fix can be applied in the client code.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: j-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org