--- jsr166/src/test/tck/ForkJoinPoolTest.java 2015/10/03 16:57:25 1.57 +++ jsr166/src/test/tck/ForkJoinPoolTest.java 2015/10/03 19:18:37 1.58 @@ -982,7 +982,7 @@ public class ForkJoinPoolTest extends JS */ public void testTimedInvokeAll5() throws Throwable { try (PoolCloser poolCloser - = new PoolCloser(new ForkJoinPool(1))) { + = new PoolCloser<>(new ForkJoinPool(1))) { ForkJoinPool e = poolCloser.pool; List> l = new ArrayList>(); l.add(new StringTask());