--- jsr166/src/test/tck/ThreadTest.java 2016/02/27 20:13:53 1.19 +++ jsr166/src/test/tck/ThreadTest.java 2017/03/18 20:42:20 1.20 @@ -49,7 +49,7 @@ public class ThreadTest extends JSR166Te * setDefaultUncaughtExceptionHandler. */ public void testGetAndSetDefaultUncaughtExceptionHandler() { - assertEquals(null, Thread.getDefaultUncaughtExceptionHandler()); + assertNull(Thread.getDefaultUncaughtExceptionHandler()); // failure due to SecurityException is OK. // Would be nice to explicitly test both ways, but cannot yet. Thread.UncaughtExceptionHandler defaultHandler