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

fix ConcurrentModificationException during unrefed dependents cleanup

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.2.3, 2.4.2
    • Fix Version/s: 2.4.3, 3.0.0
    • Component/s: kernel
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: