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

Comparing jsr166/src/test/tck/ForkJoinPool8Test.java (file contents):
Revision 1.37 by jsr166, Sat Oct 21 06:54:53 2017 UTC vs.
Revision 1.39 by jsr166, Mon Jan 8 03:56:32 2018 UTC

# Line 109 | Line 109 | public class ForkJoinPool8Test extends J
109          try {
110              assertNull(a.get());
111              assertNull(a.get(randomTimeout(), randomTimeUnit()));
112 <        } catch (Exception fail) { threadUnexpectedException(fail); }
112 >        } catch (Throwable fail) { threadUnexpectedException(fail); }
113      }
114  
115      void checkCancelled(ForkJoinTask a) {
# Line 1530 | Line 1530 | public class ForkJoinPool8Test extends J
1530       * timeout elapsed
1531       */
1532      public void testAwaitQuiescence2() throws Exception {
1533 <        /**
1533 >        /*
1534           * """It is possible to disable or limit the use of threads in the
1535           * common pool by setting the parallelism property to zero. However
1536           * doing so may cause unjoined tasks to never be executed."""

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines