RFR 8250748: Doc of URL​(String, String, int, String, URLStreamHandler) does not use link

Evan Whelan evan.whelan at oracle.com
Wed Aug 19 08:39:57 UTC 2020


Hi all,

 

I have another small fix for net-dev reviewers.

This is a small fix to the java/net/URL.java documentation to add a link to one of the constructors.

 

--- old/open/src/java.base/share/classes/java/net/URL.java   2020-08-18 14:53:33.886033182 +0000

+++ new/open/src/java.base/share/classes/java/net/URL.java   2020-08-18 14:53:33.770030806 +0000

@@ -397,8 +397,8 @@

      * a {@code handler} of {@code null} indicates that the URL

      * should use a default stream handler for the protocol, as outlined

      * for:

-     *     java.net.URL#URL(java.lang.String, java.lang.String, int,

-     *                      java.lang.String)

+     *     {@link java.net.URL#URL(java.lang.String, java.lang.String, int,

+     *                      java.lang.String)}

      *

      * <p>If the handler is not null and there is a security manager,

      * the security manager's {@code checkPermission}

 

 

JBS Link: https://bugs.openjdk.java.net/browse/JDK-8250748

 

Thank you in advance everyone.

Evan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/net-dev/attachments/20200819/7ead2c40/attachment.htm>


More information about the net-dev mailing list