--- jsr166/src/test/jtreg/util/Vector/ComodifiedRemoveAllElements.java 2010/09/05 21:32:20 1.2 +++ jsr166/src/test/jtreg/util/Vector/ComodifiedRemoveAllElements.java 2013/02/18 03:15:10 1.4 @@ -25,7 +25,7 @@ * @test * @bug 4298133 * @summary Due to a bug in Vector's removeAllElements(), - * the modification counter would not get incremented. + * the modification counter would not get incremented. * @author Konstantin Kladko */ @@ -37,7 +37,7 @@ public class ComodifiedRemoveAllElements v.addElement(null); Iterator it = v.iterator(); v.removeAllElements(); - try{ + try { it.next(); } catch (ConcurrentModificationException cme) { return;