--- jsr166/src/test/tck/ForkJoinPool8Test.java 2017/05/29 19:15:02 1.36 +++ jsr166/src/test/tck/ForkJoinPool8Test.java 2017/10/21 06:54:53 1.37 @@ -109,7 +109,7 @@ public class ForkJoinPool8Test extends J try { assertNull(a.get()); assertNull(a.get(randomTimeout(), randomTimeUnit())); - } catch (Throwable fail) { threadUnexpectedException(fail); } + } catch (Exception fail) { threadUnexpectedException(fail); } } void checkCancelled(ForkJoinTask a) {