You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by eran-levy <gi...@git.apache.org> on 2018/01/03 13:32:39 UTC

[GitHub] openjpa pull request #9: fix ConcurrentModificationException during unrefed ...

GitHub user eran-levy opened a pull request:

    https://github.com/apache/openjpa/pull/9

    fix ConcurrentModificationException during unrefed dependents cleanup

    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.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/eran-levy/openjpa fix-deref-concurrent-modification-ex

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/openjpa/pull/9.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #9
    
----
commit 62a66fc99b79a2a6468bc5451a91f32eb0daaeea
Author: Eran Levy <mc...@...>
Date:   2018-01-03T13:26:13Z

    fix ConcurrentModificationException caused by changing set during iteration

----


---

[GitHub] openjpa pull request #9: OPENJPA-2725 - fix ConcurrentModificationException ...

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

    https://github.com/apache/openjpa/pull/9


---