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