8223245: Miscellaneous changes imported from jsr166 CVS 2019-06
Reviewed-by: martin
--- 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++;
}