8223245: Miscellaneous changes imported from jsr166 CVS 2019-06

Reviewed-by: martin
This commit is contained in:
Doug Lea 2019-05-24 08:55:03 -07:00
parent ae0b26613c
commit 05cd3a7bce
2 changed files with 2 additions and 0 deletions

View File

@ -1696,6 +1696,7 @@ public class ArrayList<E> extends AbstractList<E>
@Override
public void replaceAll(UnaryOperator<E> operator) {
replaceAllRange(operator, 0, size);
// TODO(8203662): remove increment of modCount from ...
modCount++;
}

View File

@ -1369,6 +1369,7 @@ public class Vector<E>
es[i] = operator.apply(elementAt(es, i));
if (modCount != expectedModCount)
throw new ConcurrentModificationException();
// TODO(8203662): remove increment of modCount from ...
modCount++;
}