commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "pleutre (JIRA)" <>
Subject [jira] [Created] (JXPATH-152) Concurrent access on hashmap of JXPathIntrospector
Date Thu, 11 Aug 2011 09:28:27 GMT
Concurrent access on hashmap of JXPathIntrospector

                 Key: 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:


View raw message