You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2018/01/03 15:37:01 UTC
[jira] [Commented] (OPENJPA-2725) fix
ConcurrentModificationException during unrefed dependents cleanup
[ https://issues.apache.org/jira/browse/OPENJPA-2725?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16309804#comment-16309804 ]
ASF subversion and git services commented on OPENJPA-2725:
----------------------------------------------------------
Commit 1819981 from [~ilgrosso] in branch 'openjpa/branches/2.4.x'
[ https://svn.apache.org/r1819981 ]
OPENJPA-2725 - fix ConcurrentModificationException during unrefed dependents cleanup / thanks @eran-levy
> fix ConcurrentModificationException during unrefed dependents cleanup
> ---------------------------------------------------------------------
>
> Key: OPENJPA-2725
> URL: https://issues.apache.org/jira/browse/OPENJPA-2725
> Project: OpenJPA
> Issue Type: Bug
> Components: kernel
> Affects Versions: 2.2.3, 2.4.2
> Reporter: Eran Levy
> Priority: Minor
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)