--- jsr166/src/jsr166y/ForkJoinPool.java 2010/09/17 14:24:56 1.80 +++ jsr166/src/jsr166y/ForkJoinPool.java 2010/09/20 20:42:36 1.81 @@ -879,7 +879,7 @@ public class ForkJoinPool extends Abstra // If originating from an external caller, // propagate exception, else ignore if (fail != null && runState < TERMINATING && - !(Thread.currentThread() instanceof + !(Thread.currentThread() instanceof ForkJoinWorkerThread)) UNSAFE.throwException(fail); break; @@ -1711,7 +1711,7 @@ public class ForkJoinPool extends Abstra final boolean isAtLeastTerminating() { return runState >= TERMINATING; } - + /** * Returns {@code true} if this pool has been shut down. *