# | Line 54 | Line 54 | public class ThreadTest extends JSR166Te | |
---|---|---|
54 | // Would be nice to explicitly test both ways, but cannot yet. | |
55 | Thread.UncaughtExceptionHandler defaultHandler | |
56 | = Thread.getDefaultUncaughtExceptionHandler(); | |
57 | – | Thread current = Thread.currentThread(); |
57 | MyHandler eh = new MyHandler(); | |
58 | try { | |
59 | Thread.setDefaultUncaughtExceptionHandler(eh); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |