--- jsr166/src/test/tck/ForkJoinTaskTest.java 2017/08/16 17:18:34 1.53 +++ jsr166/src/test/tck/ForkJoinTaskTest.java 2017/10/21 06:52:36 1.54 @@ -116,7 +116,7 @@ public class ForkJoinTaskTest extends JS try { assertSame(expected, a.get()); assertSame(expected, a.get(randomTimeout(), randomTimeUnit())); - } catch (Throwable fail) { threadUnexpectedException(fail); } + } catch (Exception fail) { threadUnexpectedException(fail); } } void checkCancelled(ForkJoinTask a) {