[
https://issues.apache.org/jira/browse/GEODE-8564?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17205658#comment-17205658
]
ASF subversion and git services commented on GEODE-8564:
--------------------------------------------------------
Commit 5bac21fd431a9a89f6f58887a2fa6cb714cc238b in geode's branch
refs/heads/support/1.12 from Udo Kohlmeyer
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=5bac21f ]
GEODE-8564: Updated CopyOnWriteHashSet's iterator implementation to (#5583)
support iterator.remove().
Updated JCAManagedConnection to not use iterator.remove(). It will now
collect all items to remove and then use the CopyOnWriteHashSet removeAll
functionality to avoid unnecessary intermediary collection creations.
(cherry picked from commit 66bcce8bb27d1fae4a115517ef39cadcd2189aa8)
> UnsupportedOperationException thrown on CopyOnWriteHashSet.iterator().remove()
> ------------------------------------------------------------------------------
>
> Key: GEODE-8564
> URL: https://issues.apache.org/jira/browse/GEODE-8564
> Project: Geode
> Issue Type: Bug
> Components: core
> Affects Versions: 1.12.0, 1.13.0
> Reporter: Udo Kohlmeyer
> Assignee: Udo Kohlmeyer
> Priority: Major
> Labels: pull-request-available
>
> JCAManagedConnection uses a CopyOnWriteHashSet.
> When using the collections iterator.remove() an
> `UnsupportedOperationException` is thrown.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)