# | Line 48 | Line 48 | public class ThreadTest extends JSR166Te | |
---|---|---|
48 | * getDefaultUncaughtExceptionHandler returns value of last | |
49 | * setDefaultUncaughtExceptionHandler. | |
50 | */ | |
51 | + | @SuppressWarnings("removal") |
52 | public void testGetAndSetDefaultUncaughtExceptionHandler() { | |
53 | assertNull(Thread.getDefaultUncaughtExceptionHandler()); | |
54 | // failure due to SecurityException is OK. |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |