# | Line 49 | Line 49 | public class ThreadTest extends JSR166Te | |
---|---|---|
49 | * setDefaultUncaughtExceptionHandler. | |
50 | */ | |
51 | public void testGetAndSetDefaultUncaughtExceptionHandler() { | |
52 | < | assertEquals(null, Thread.getDefaultUncaughtExceptionHandler()); |
52 | > | assertNull(Thread.getDefaultUncaughtExceptionHandler()); |
53 | // failure due to SecurityException is OK. | |
54 | // Would be nice to explicitly test both ways, but cannot yet. | |
55 | Thread.UncaughtExceptionHandler defaultHandler |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |