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