diff --git a/jdk/src/share/classes/java/net/URL.java b/jdk/src/share/classes/java/net/URL.java index 1ff5d63a35a..7e3af285821 100644 --- a/jdk/src/share/classes/java/net/URL.java +++ b/jdk/src/share/classes/java/net/URL.java @@ -978,8 +978,8 @@ public final class URL implements java.io.Serializable { * support proxing will ignore the proxy parameter and make a * normal connection. * - * Invoking this method preempts the system's default ProxySelector - * settings. + * Invoking this method preempts the system's default + * {@link java.net.ProxySelector ProxySelector} settings. * * @param proxy the Proxy through which this connection * will be made. If direct connection is desired, diff --git a/jdk/src/share/classes/java/net/URLStreamHandler.java b/jdk/src/share/classes/java/net/URLStreamHandler.java index a77c5ed2cfc..f758db505e8 100644 --- a/jdk/src/share/classes/java/net/URLStreamHandler.java +++ b/jdk/src/share/classes/java/net/URLStreamHandler.java @@ -76,8 +76,8 @@ public abstract class URLStreamHandler { * support proxying will ignore the proxy parameter and make a * normal connection. * - * Calling this method preempts the system's default ProxySelector - * settings. + * Calling this method preempts the system's default + * {@link java.net.ProxySelector ProxySelector} settings. * * @param u the URL that this connects to. * @param p the proxy through which the connection will be made.