Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8203662

remove increment of modCount from ArrayList and Vector replaceAll()

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • None
    • 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 also JDK-8202685 and JDK-8203663.

            martin Martin Buchholz
            smarks Stuart Marks
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated: