--- jsr166/src/test/tck/CompletableFutureTest.java 2015/09/04 02:50:00 1.109 +++ jsr166/src/test/tck/CompletableFutureTest.java 2015/09/04 13:43:25 1.111 @@ -3385,7 +3385,7 @@ public class CompletableFutureTest exten /** * defaultExecutor by default returns the commonPool if - * it supports at least one thread. + * it supports more than one thread. */ public void testDefaultExecutor() { CompletableFuture f = new CompletableFuture<>(); @@ -3393,6 +3393,8 @@ public class CompletableFutureTest exten Executor c = ForkJoinPool.commonPool(); if (ForkJoinPool.getCommonPoolParallelism() > 1) assertSame(e, c); + else + assertNotSame(e, c); } /**