# | Line 416 | Line 416 | public class ForkJoinPoolTest extends JS | |
---|---|---|
416 | int r = f.get(); | |
417 | assertTrue(r == 832040); | |
418 | } finally { | |
419 | < | joinPool(p); |
419 | > | p.shutdownNow(); // don't wait out shutdown |
420 | } | |
421 | } | |
422 | ||
# | Line 642 | Line 642 | public class ForkJoinPoolTest extends JS | |
642 | }}); | |
643 | ||
644 | t.start(); | |
645 | – | Thread.sleep(SHORT_DELAY_MS); |
645 | t.interrupt(); | |
646 | < | joinPool(p); |
646 | > | p.shutdownNow(); |
647 | } | |
648 | ||
649 | /** |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |