--- jsr166/src/test/tck/ThreadTest.java 2015/02/22 19:15:14 1.16 +++ jsr166/src/test/tck/ThreadTest.java 2015/04/25 04:55:31 1.18 @@ -11,7 +11,7 @@ import junit.framework.TestSuite; public class ThreadTest extends JSR166TestCase { public static void main(String[] args) { - junit.textui.TestRunner.run(suite()); + main(suite(), args); } public static Test suite() { @@ -54,7 +54,6 @@ public class ThreadTest extends JSR166Te // Would be nice to explicitly test both ways, but cannot yet. Thread.UncaughtExceptionHandler defaultHandler = Thread.getDefaultUncaughtExceptionHandler(); - Thread current = Thread.currentThread(); MyHandler eh = new MyHandler(); try { Thread.setDefaultUncaughtExceptionHandler(eh);