src/jdk.incubator.httpclient/share/classes/jdk/incubator/http/RequestPublishers.java
--- a/src/jdk.incubator.httpclient/share/classes/jdk/incubator/http/RequestPublishers.java Fri Nov 10 12:36:44 2017 +0000
+++ b/src/jdk.incubator.httpclient/share/classes/jdk/incubator/http/RequestPublishers.java Fri Nov 10 16:24:07 2017 +0300
@@ -259,7 +259,6 @@
volatile ByteBuffer nextBuffer;
volatile boolean need2Read = true;
volatile boolean haveNext;
- volatile Throwable error;
StreamIterator(InputStream is) {
this(is, Utils::getBuffer);
@@ -291,7 +290,6 @@
nextBuffer.position(0);
return n;
} catch (IOException ex) {
- error = ex;
return -1;
}
}