Concurrent access on hashmap of JXPathIntrospector
--------------------------------------------------

                 Key: JXPATH-152
                 URL: https://issues.apache.org/jira/browse/JXPATH-152
             Project: Commons JXPath
          Issue Type: Bug
    Affects Versions: 1.3
         Environment: Java5, Windows/AIX
            Reporter: pleutre
            Priority: Minor


JXPathIntrospector.registerDynamicClass method can be called in static part of 
classes. 
If two classes A & B try to registerDynamicClass in the same time a concurrent 
access exception can append on hashmap of JXPathIntrospector.

Replace hashmap by concurrent hashmap or synchronized access to these hashmaps.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to