Uploaded image for project: 'OpenJPA'
  1. OpenJPA
  2. OPENJPA-2725

fix ConcurrentModificationException during unrefed dependents cleanup

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.2.3, 2.4.2
    • 2.4.3, 3.0.0
    • kernel
    • None

    Description

      Committed a fix - pull request #9: https://github.com/apache/openjpa/pull/9

      In some situations there are state elements in _derefCache HashSet causing ConcurrentModificationException because set has been modified during iteration.
      Copy all elements into another set and calling the same deleteDeref(StateManagerImpl sm) function.

      Attachments

        Issue Links

          Activity

            People

              ilgrosso Francesco Chicchiriccò
              eran-levy Eran Levy
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: