--- jsr166/src/test/tck/ForkJoinPoolTest.java 2015/10/04 00:30:50 1.59 +++ jsr166/src/test/tck/ForkJoinPoolTest.java 2015/10/04 00:40:33 1.60 @@ -981,9 +981,8 @@ public class ForkJoinPoolTest extends JS * timed invokeAll(c) returns results of all completed tasks in c */ public void testTimedInvokeAll5() throws Throwable { - try (PoolCleaner cleaner - = cleaner(new ForkJoinPool(1))) { - ForkJoinPool e = cleaner.pool; + ForkJoinPool e = new ForkJoinPool(1); + try (PoolCleaner cleaner = cleaner(e)) { List> l = new ArrayList>(); l.add(new StringTask()); l.add(new StringTask());