diff -r e62cbcc08cae -r d4b5b95da972 src/jdk.incubator.httpclient/share/classes/jdk/incubator/http/ResponseContent.java --- a/src/jdk.incubator.httpclient/share/classes/jdk/incubator/http/ResponseContent.java Wed Nov 08 09:34:56 2017 +0000 +++ b/src/jdk.incubator.httpclient/share/classes/jdk/incubator/http/ResponseContent.java Wed Nov 08 14:08:52 2017 +0300 @@ -54,10 +54,10 @@ ResponseContent(HttpConnection connection, int contentLength, HttpHeaders h, - HttpResponse.BodySubscriber userProcessor, + HttpResponse.BodySubscriber userSubscriber, Runnable onFinished) { - this.pusher = userProcessor; + this.pusher = userSubscriber; this.contentLength = contentLength; this.headers = h; this.onFinished = onFinished; @@ -97,7 +97,7 @@ } // Returns a parser that will take care of parsing the received byte - // buffers and forward them to the BodyProcessor. + // buffers and forward them to the BodySubscriber. // When the parser is done, it will call onComplete. // If parsing was successful, the throwable parameter will be null. // Otherwise it will be the exception that occurred