http-client-branch: review comment - fix incorrect cf completion in SSLFlowDelegate
--- a/src/java.net.http/share/classes/jdk/internal/net/http/common/SSLFlowDelegate.java Mon Apr 16 18:38:31 2018 +0100
+++ b/src/java.net.http/share/classes/jdk/internal/net/http/common/SSLFlowDelegate.java Tue Apr 17 13:22:09 2018 +0100
@@ -120,7 +120,7 @@
this.readerCF = reader.completion();
this.writerCF = reader.completion();
readerCF.exceptionally(this::stopOnError);
- readerCF.exceptionally(this::stopOnError);
+ writerCF.exceptionally(this::stopOnError);
CompletableFuture.allOf(reader.completion(), writer.completion())
.thenRun(this::normalStop);