--- a/src/jdk.incubator.httpclient/share/classes/jdk/incubator/http/HttpResponse.java Fri Nov 17 17:46:30 2017 +0000
+++ b/src/jdk.incubator.httpclient/share/classes/jdk/incubator/http/HttpResponse.java Fri Nov 17 18:38:05 2017 +0000
@@ -605,7 +605,7 @@
}
// no security check
- static BodySubscriber<Path> asFileImpl(Path file, OpenOption... openOptions) {
+ private static BodySubscriber<Path> asFileImpl(Path file, OpenOption... openOptions) {
return new ResponseSubscribers.PathSubscriber(file, openOptions);
}