ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/test/tck/ForkJoinPoolTest.java
(Generate patch)

Comparing jsr166/src/test/tck/ForkJoinPoolTest.java (file contents):
Revision 1.58 by jsr166, Sat Oct 3 19:18:37 2015 UTC vs.
Revision 1.59 by jsr166, Sun Oct 4 00:30:50 2015 UTC

# 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 (PoolCloser<ForkJoinPool> poolCloser
985 <             = new PoolCloser<>(new ForkJoinPool(1))) {
986 <            ForkJoinPool e = poolCloser.pool;
984 >        try (PoolCleaner<ForkJoinPool> cleaner
985 >             = cleaner(new ForkJoinPool(1))) {
986 >            ForkJoinPool e = cleaner.pool;
987              List<Callable<String>> l = new ArrayList<Callable<String>>();
988              l.add(new StringTask());
989              l.add(new StringTask());

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines