# | Line 981 | Line 981 | public class ForkJoinPoolTest extends JS | |
---|---|---|
981 | * timed invokeAll(c) returns results of all completed tasks in c | |
982 | */ | |
983 | public void testTimedInvokeAll5() throws Throwable { | |
984 | < | try (PoolCleaner<ForkJoinPool> cleaner |
985 | < | = cleaner(new ForkJoinPool(1))) { |
986 | < | ForkJoinPool e = cleaner.pool; |
984 | > | ForkJoinPool e = new ForkJoinPool(1); |
985 | > | try (PoolCleaner<ForkJoinPool> cleaner = cleaner(e)) { |
986 | List<Callable<String>> l = new ArrayList<Callable<String>>(); | |
987 | l.add(new StringTask()); | |
988 | l.add(new StringTask()); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |