src/jdk.incubator.httpclient/share/classes/jdk/incubator/http/RequestPublishers.java
branchhttp-client-branch
changeset 55799 c71f52f48d97
parent 55792 0936888d5a4a
child 55847 3bac3bca4adb
--- 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;
             }
         }