mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8223245: Miscellaneous changes imported from jsr166 CVS 2019-06
Reviewed-by: martin
This commit is contained in:
parent
ae0b26613c
commit
05cd3a7bce
2 changed files with 2 additions and 0 deletions
|
@ -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++;
|
||||
}
|
||||
|
||||
|
|
|
@ -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++;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue