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.17 by jsr166, Sun Feb 22 22:07:17 2015 UTC vs.
Revision 1.19 by jsr166, Sat Feb 27 20:13:53 2016 UTC

# Line 11 | Line 11 | import junit.framework.TestSuite;
11  
12   public class ThreadTest extends JSR166TestCase {
13      public static void main(String[] args) {
14 <        junit.textui.TestRunner.run(suite());
14 >        main(suite(), args);
15      }
16  
17      public static Test suite() {
# 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();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines