--- jsr166/src/test/tck/ConcurrentSkipListSubSetTest.java 2015/02/28 18:10:55 1.30 +++ jsr166/src/test/tck/ConcurrentSkipListSubSetTest.java 2015/04/25 04:55:30 1.32 @@ -16,7 +16,7 @@ import junit.framework.TestSuite; public class ConcurrentSkipListSubSetTest extends JSR166TestCase { public static void main(String[] args) { - junit.textui.TestRunner.run(suite()); + main(suite(), args); } public static Test suite() { return new TestSuite(ConcurrentSkipListSubSetTest.class); @@ -167,7 +167,6 @@ public class ConcurrentSkipListSubSetTes try { q.add(new Object()); q.add(new Object()); - q.add(new Object()); shouldThrow(); } catch (ClassCastException success) {} } @@ -664,7 +663,6 @@ public class ConcurrentSkipListSubSetTes try { q.add(new Object()); q.add(new Object()); - q.add(new Object()); shouldThrow(); } catch (ClassCastException success) {} }