--- jsr166/src/test/tck/FutureTaskTest.java 2017/10/21 06:50:25 1.48 +++ jsr166/src/test/tck/FutureTaskTest.java 2017/10/22 01:26:49 1.49 @@ -51,7 +51,7 @@ public class FutureTaskTest extends JSR1 exInfo = CancellationException.class; } catch (ExecutionException t) { exInfo = t.getCause(); - } catch (Throwable t) { + } catch (Exception t) { threadUnexpectedException(t); } @@ -66,7 +66,7 @@ public class FutureTaskTest extends JSR1 assertSame(exInfo, CancellationException.class); } catch (ExecutionException t) { assertSame(exInfo, t.getCause()); - } catch (Throwable t) { + } catch (Exception t) { threadUnexpectedException(t); } assertTrue(f.isDone());