Trivially, this link should refer to HttpClient, rather than HttpRequest. --- a/src/java.net.http/share/classes/java/net/http/WebSocket.java +++ b/src/java.net.http/share/classes/java/net/http/WebSocket.java @@ -197,7 +197,7 @@ * <li> {@link SecurityException} - * if a security manager has been installed and it denies * {@link java.net.URLPermission access} to {@code uri}. - * <a href="HttpRequest.html#securitychecks">Security checks</a> + * <a href="HttpClient.html#securitychecks">Security checks</a> * contains more information relating to the security context * in which the the listener is invoked. * <li> {@link IllegalArgumentException} -
-Chris.