--- jsr166/src/test/tck/ThreadTest.java 2015/02/22 22:07:17 1.17 +++ jsr166/src/test/tck/ThreadTest.java 2016/02/27 20:13:53 1.19 @@ -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() { @@ -50,7 +50,7 @@ public class ThreadTest extends JSR166Te */ public void testGetAndSetDefaultUncaughtExceptionHandler() { assertEquals(null, Thread.getDefaultUncaughtExceptionHandler()); - // failure due to securityException is OK. + // failure due to SecurityException is OK. // Would be nice to explicitly test both ways, but cannot yet. Thread.UncaughtExceptionHandler defaultHandler = Thread.getDefaultUncaughtExceptionHandler();