--- jsr166/src/test/tck/RecursiveActionTest.java 2017/10/21 06:49:04 1.51 +++ jsr166/src/test/tck/RecursiveActionTest.java 2018/01/07 22:59:18 1.53 @@ -99,7 +99,7 @@ public class RecursiveActionTest extends try { assertNull(a.get()); assertNull(a.get(randomTimeout(), randomTimeUnit())); - } catch (Exception fail) { threadUnexpectedException(fail); } + } catch (Throwable fail) { threadUnexpectedException(fail); } } void checkCancelled(RecursiveAction a) { @@ -325,8 +325,7 @@ public class RecursiveActionTest extends * succeeds in the presence of interrupts */ public void testJoinIgnoresInterruptsOutsideForkJoinPool() { - final SynchronousQueue sq = - new SynchronousQueue(); + final SynchronousQueue sq = new SynchronousQueue<>(); RecursiveAction a = new CheckedRecursiveAction() { protected void realCompute() throws InterruptedException { FibAction[] fibActions = new FibAction[6];