--- jsr166/src/test/tck/CompletableFutureTest.java 2016/11/26 20:32:24 1.181 +++ jsr166/src/test/tck/CompletableFutureTest.java 2017/01/03 03:18:02 1.182 @@ -93,10 +93,10 @@ public class CompletableFutureTest exten * Returns the "raw" internal exceptional completion of f, * without any additional wrapping with CompletionException. */ - Throwable exceptionalCompletion(CompletableFuture f) { - // handle (and whenComplete) can distinguish between "direct" - // and "wrapped" exceptional completion - return f.handle((U u, Throwable t) -> t).join(); + Throwable exceptionalCompletion(CompletableFuture f) { + // handle (and whenComplete and exceptionally) can distinguish + // between "direct" and "wrapped" exceptional completion + return f.handle((u, t) -> t).join(); } void checkCompletedExceptionally(CompletableFuture f,