< prev index next >
test/jdk/java/util/concurrent/tck/Collection8Test.java
Print this page
8203662: remove increment of modCount from ArrayList and Vector replaceAll()
Reviewed-by: martin, igerasim, redestad, dholmes, smarks, jrose, plevart
*** 977,987 ****
assertSame(c.getClass(), serialClone.getClass());
assertCollectionsEquivalent(c, serialClone);
} catch (java.io.NotSerializableException acceptable) {}
}
! public void DISABLED_testReplaceAllIsNotStructuralModification() {
Collection c = impl.emptyCollection();
if (!(c instanceof List))
return;
List list = (List) c;
ThreadLocalRandom rnd = ThreadLocalRandom.current();
--- 977,987 ----
assertSame(c.getClass(), serialClone.getClass());
assertCollectionsEquivalent(c, serialClone);
} catch (java.io.NotSerializableException acceptable) {}
}
! public void testReplaceAllIsNotStructuralModification() {
Collection c = impl.emptyCollection();
if (!(c instanceof List))
return;
List list = (List) c;
ThreadLocalRandom rnd = ThreadLocalRandom.current();
< prev index next >