8223245: Miscellaneous changes imported from jsr166 CVS 2019-06
authordl
Fri, 24 May 2019 08:55:03 -0700
changeset 55036 265b110fc022
parent 55035 3a30c73838f6
child 55037 290679ec47bb
8223245: Miscellaneous changes imported from jsr166 CVS 2019-06 Reviewed-by: martin
src/java.base/share/classes/java/util/ArrayList.java
src/java.base/share/classes/java/util/Vector.java
--- 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++;
     }