--- a/src/java.net.http/share/classes/jdk/internal/net/http/Http1AsyncReceiver.java Sun Mar 18 14:31:36 2018 +0000
+++ b/src/java.net.http/share/classes/jdk/internal/net/http/Http1AsyncReceiver.java Mon Mar 19 12:24:07 2018 +0000
@@ -530,9 +530,12 @@
// sanity check: we shouldn't have queued the same
// buffer twice.
ByteBuffer[] qbb = queue.toArray(new ByteBuffer[queue.size()]);
- assert java.util.stream.Stream.of(qbb)
- .collect(Collectors.toSet())
- .size() == qbb.length : debugQBB(qbb);
+
+// the assertion looks suspicious, more investigation needed
+//
+// assert java.util.stream.Stream.of(qbb)
+// .collect(Collectors.toSet())
+// .size() == qbb.length : debugQBB(qbb);
// compute the number of bytes in the queue, the number of bytes
// in the initial buffer