--- jsr166/src/test/tck/AtomicLongArrayTest.java 2014/12/31 19:21:20 1.29 +++ jsr166/src/test/tck/AtomicLongArrayTest.java 2015/04/25 04:55:30 1.31 @@ -14,7 +14,7 @@ import junit.framework.TestSuite; public class AtomicLongArrayTest extends JSR166TestCase { public static void main(String[] args) { - junit.textui.TestRunner.run(suite()); + main(suite(), args); } public static Test suite() { return new TestSuite(AtomicLongArrayTest.class); @@ -35,7 +35,7 @@ public class AtomicLongArrayTest extends public void testConstructor2NPE() { try { long[] a = null; - AtomicLongArray aa = new AtomicLongArray(a); + new AtomicLongArray(a); shouldThrow(); } catch (NullPointerException success) {} }