Uploaded image for project: 'Commons JXPath'
  1. Commons JXPath
  2. JXPATH-152

Concurrent access on hashmap of JXPathIntrospector

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.3
    • 1.4
    • None
    • Java5, Windows/AIX

    Description

      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.

      Attachments

        Activity

          People

            mbenson Matthew Jason Benson
            pleutre pleutre
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 24h
                24h
                Remaining:
                Remaining Estimate - 24h
                24h
                Logged:
                Time Spent - Not Specified
                Not Specified