-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
P4
-
Affects Version/s: 11
-
Component/s: core-libs
-
None
The replaceAll() methods of ArrayList and Vector increment modCount, causing ConcurrentModificationException to be thrown if the method is called during an iteration.
See the discussion starting a few messages down this thread:
http://mail.openjdk.java.net/pipermail/core-libs-dev/2018-May/053038.html
See alsoJDK-8202685 and JDK-8203663.
See the discussion starting a few messages down this thread:
http://mail.openjdk.java.net/pipermail/core-libs-dev/2018-May/053038.html
See also
- csr for
-
JDK-8203704 remove increment of modCount from ArrayList and Vector replaceAll()
-
- Draft
-
- relates to
-
JDK-8202685 Optimize ArrayList subList replaceAll
-
- Resolved
-
-
JDK-8203663 adjust ConcurrentModificationException policies and specifications
-
- Open
-