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

Comparing jsr166/src/test/tck/RecursiveActionTest.java (file contents):
Revision 1.51 by jsr166, Sat Oct 21 06:49:04 2017 UTC vs.
Revision 1.53 by jsr166, Sun Jan 7 22:59:18 2018 UTC

# Line 99 | Line 99 | public class RecursiveActionTest extends
99          try {
100              assertNull(a.get());
101              assertNull(a.get(randomTimeout(), randomTimeUnit()));
102 <        } catch (Exception fail) { threadUnexpectedException(fail); }
102 >        } catch (Throwable fail) { threadUnexpectedException(fail); }
103      }
104  
105      void checkCancelled(RecursiveAction a) {
# Line 325 | Line 325 | public class RecursiveActionTest extends
325       * succeeds in the presence of interrupts
326       */
327      public void testJoinIgnoresInterruptsOutsideForkJoinPool() {
328 <        final SynchronousQueue<FibAction[]> sq =
329 <            new SynchronousQueue<FibAction[]>();
328 >        final SynchronousQueue<FibAction[]> sq = new SynchronousQueue<>();
329          RecursiveAction a = new CheckedRecursiveAction() {
330              protected void realCompute() throws InterruptedException {
331                  FibAction[] fibActions = new FibAction[6];

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines