diff -r 4f699653026b -r 70738768515a src/jdk.incubator.httpclient/share/classes/jdk/incubator/http/HttpClient.java --- a/src/jdk.incubator.httpclient/share/classes/jdk/incubator/http/HttpClient.java Tue Nov 14 16:28:52 2017 +0000 +++ b/src/jdk.incubator.httpclient/share/classes/jdk/incubator/http/HttpClient.java Wed Nov 15 11:39:54 2017 +0000 @@ -385,7 +385,7 @@ * @param req the request * @param responseBodyHandler the response body handler * @return the response body - * @throws java.io.IOException if an I/O error occurs when sending or receiving + * @throws IOException if an I/O error occurs when sending or receiving * @throws InterruptedException if the operation is interrupted * @throws IllegalArgumentException if the request method is not supported * @throws SecurityException If a security manager has been installed @@ -402,11 +402,16 @@ * Sends the given request asynchronously using this client and the given * response handler. * - *

The returned completable future is completed with a SecurityException - * if a security manager has been installed and it denies {@link - * java.net.URLPermission access} to the URI in the given request, or proxy - * if one is configured. See HttpRequest for further information about - * security checks. + *

The returned completable future completes exceptionally with: + *

* * @param the response body type * @param req the request @@ -420,11 +425,16 @@ * Sends the given request asynchronously using this client and the given * multi response handler. * - *

The returned completable future is completed with a SecurityException - * if a security manager has been installed and it denies {@link - * java.net.URLPermission access} to the URI in the given request, or proxy - * if one is configured. See HttpRequest for further information about - * security checks. + *

The returned completable future completes exceptionally with: + *

* * @param a type representing the aggregated results * @param a type representing all of the response bodies