< prev index next >

src/java.base/share/classes/java/util/Vector.java

Print this page
8223245: Miscellaneous changes imported from jsr166 CVS 2019-06
Reviewed-by: martin

*** 1367,1376 **** --- 1367,1377 ---- final int size = elementCount; for (int i = 0; modCount == expectedModCount && i < size; i++) es[i] = operator.apply(elementAt(es, i)); if (modCount != expectedModCount) throw new ConcurrentModificationException(); + // TODO(8203662): remove increment of modCount from ... modCount++; } @SuppressWarnings("unchecked") @Override
< prev index next >