test/jdk/java/net/httpclient/ProxyAuthTest.java
branchhttp-client-branch
changeset 56082 1da51fab3032
parent 48083 b1c1b4ef4be2
child 56089 42208b2f224e
--- a/test/jdk/java/net/httpclient/ProxyAuthTest.java	Tue Feb 06 15:34:08 2018 +0000
+++ b/test/jdk/java/net/httpclient/ProxyAuthTest.java	Tue Feb 06 16:07:43 2018 +0000
@@ -76,7 +76,7 @@
                                           .authenticator(auth)
                                           .build();
             HttpRequest req = HttpRequest.newBuilder(uri).GET().build();
-            HttpResponse<?> resp = client.sendAsync(req, discard(null)).get();
+            HttpResponse<?> resp = client.sendAsync(req, discard()).get();
             if (resp.statusCode() != 404) {
                 throw new RuntimeException("Unexpected status code: " + resp.statusCode());
             }