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

Comparing jsr166/src/test/tck/CompletableFutureTest.java (file contents):
Revision 1.104 by jsr166, Thu Sep 3 14:17:25 2015 UTC vs.
Revision 1.105 by dl, Thu Sep 3 16:30:05 2015 UTC

# Line 3390 | Line 3390 | public class CompletableFutureTest exten
3390          CompletableFuture<Integer> f = new CompletableFuture<>();
3391          Executor e = f.defaultExecutor();
3392          Executor c =  ForkJoinPool.commonPool();
3393 <        if (ForkJoinPool.getCommonPoolParallelism() > 0)
3393 >        if (ForkJoinPool.getCommonPoolParallelism() > 1)
3394              assertSame(e, c);
3395      }
3396  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines