diff -r 20c6742e5545 -r 1da51fab3032 test/jdk/java/net/httpclient/ProxyAuthTest.java --- 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()); }