--- jsr166/src/test/tck/ForkJoinPoolTest.java 2021/01/26 13:33:06 1.79 +++ jsr166/src/test/tck/ForkJoinPoolTest.java 2021/01/27 01:57:24 1.80 @@ -561,7 +561,7 @@ public class ForkJoinPoolTest extends JS public void testInterruptedSubmit() throws InterruptedException { final CountDownLatch submitted = new CountDownLatch(1); final CountDownLatch quittingTime = new CountDownLatch(1); - final Callable awaiter = new CheckedCallable() { + final Callable awaiter = new CheckedCallable<>() { public Void realCall() throws InterruptedException { assertTrue(quittingTime.await(2*LONG_DELAY_MS, MILLISECONDS)); return null;