--- 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;
}