--- jsr166/src/test/tck/ForkJoinTask8Test.java 2017/05/29 19:15:02 1.29 +++ jsr166/src/test/tck/ForkJoinTask8Test.java 2017/10/21 06:54:19 1.30 @@ -145,7 +145,7 @@ public class ForkJoinTask8Test extends J try { assertSame(expected, a.get()); assertSame(expected, a.get(randomTimeout(), randomTimeUnit())); - } catch (Throwable fail) { threadUnexpectedException(fail); } + } catch (Exception fail) { threadUnexpectedException(fail); } } void checkCompletedAbnormally(ForkJoinTask a, Throwable t) {