# | Line 561 | Line 561 | public class ForkJoinPoolTest extends JS | |
---|---|---|
561 | public void testInterruptedSubmit() throws InterruptedException { | |
562 | final CountDownLatch submitted = new CountDownLatch(1); | |
563 | final CountDownLatch quittingTime = new CountDownLatch(1); | |
564 | < | final Callable<Void> awaiter = new CheckedCallable<Void>() { |
564 | > | final Callable<Void> awaiter = new CheckedCallable<>() { |
565 | public Void realCall() throws InterruptedException { | |
566 | assertTrue(quittingTime.await(2*LONG_DELAY_MS, MILLISECONDS)); | |
567 | return null; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |