Commons JXPath
  1. Commons JXPath
  2. JXPATH-152

Concurrent access on hashmap of JXPathIntrospector

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.3
    • Fix Version/s: 1.4
    • Labels:
      None
    • Environment:

      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.

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Matt Benson
            Reporter:
            pleutre
          • Votes:
            0 Vote for this issue
            Watchers:
            1 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

                Development