RFR: jsr166 jdk9 integration wave 11
chris.hegarty at oracle.com
Thu Sep 22 12:39:47 UTC 2016
On 21 Sep 2016, at 20:33, Martin Buchholz <martinrb at google.com> wrote:
> Notable here is an attempt to make a minimal completion stage more acceptable as a return value from APIs, by making completableFuture.minimalCompletionStage().toCompletableFuture() useful.
this is subtle. I think what you have is right. Thankfully
CS::toCompletableFuture allows this; "If this stage is already a
CompletableFuture, this method MAY return this stage itself."
Can you please check the indentation in testCopy_normalCompletion
More information about the core-libs-dev