changeset 56397:265b110fc022

8223245: Miscellaneous changes imported from jsr166 CVS 2019-06 Reviewed-by: martin
author dl
date Fri, 24 May 2019 08:55:03 -0700
parents 3a30c73838f6
children 290679ec47bb
files src/java.base/share/classes/java/util/ArrayList.java src/java.base/share/classes/java/util/Vector.java
diffstat 2 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/java.base/share/classes/java/util/ArrayList.java	Fri May 24 08:51:04 2019 -0700
+++ b/src/java.base/share/classes/java/util/ArrayList.java	Fri May 24 08:55:03 2019 -0700
@@ -1696,6 +1696,7 @@
     @Override
     public void replaceAll(UnaryOperator<E> operator) {
         replaceAllRange(operator, 0, size);
+        // TODO(8203662): remove increment of modCount from ...
         modCount++;
     }
 
--- a/src/java.base/share/classes/java/util/Vector.java	Fri May 24 08:51:04 2019 -0700
+++ b/src/java.base/share/classes/java/util/Vector.java	Fri May 24 08:55:03 2019 -0700
@@ -1369,6 +1369,7 @@
             es[i] = operator.apply(elementAt(es, i));
         if (modCount != expectedModCount)
             throw new ConcurrentModificationException();
+        // TODO(8203662): remove increment of modCount from ...
         modCount++;
     }