src/java.net.http/share/classes/jdk/internal/net/http/HttpResponseImpl.java
branchhttp-client-branch
changeset 56326 63422db47911
parent 56139 b3d6203051df
child 56451 9585061fdb04
--- a/src/java.net.http/share/classes/jdk/internal/net/http/HttpResponseImpl.java	Tue Mar 20 10:19:00 2018 +0000
+++ b/src/java.net.http/share/classes/jdk/internal/net/http/HttpResponseImpl.java	Tue Mar 20 13:10:09 2018 +0000
@@ -155,7 +155,7 @@
             // Http1Exchange may have some remaining bytes in its
             // internal buffer.
             Supplier<ByteBuffer> initial = ((Http1Exchange<?>)exchImpl)::drainLeftOverBytes;
-            rawchan = new RawChannelImpl(exchange.client(), connection, initial);
+            rawchan = new RawChannelTube(connection, initial);
         }
         return rawchan;
     }