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

remove increment of modCount from ArrayList and Vector replaceAll()

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: In Progress
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: tbd
    • Component/s: core-libs
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated: