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 <mceranlevy@...>
Date: 2018-01-03T13:26:13Z
fix ConcurrentModificationException caused by changing set during iteration
----
---