ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/test/tck/ThreadTest.java
(Generate patch)

Comparing jsr166/src/test/tck/ThreadTest.java (file contents):
Revision 1.19 by jsr166, Sat Feb 27 20:13:53 2016 UTC vs.
Revision 1.20 by jsr166, Sat Mar 18 20:42:20 2017 UTC

# 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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines