--- jsr166/src/test/tck/CompletableFutureTest.java 2015/09/03 17:45:22 1.108 +++ 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); } /** @@ -3480,7 +3482,7 @@ public class CompletableFutureTest exten } /** - * failedStage returns a Completionstage completed + * failedStage returns a CompletionStage completed * exceptionally with the given Exception */ public void testFailedStage() {