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

Daniel Fuchs daniel.fuchs at oracle.com
Wed Aug 19 08:51:26 UTC 2020


Hi Evan,

Looks good to me!

best regards,

-- daniel

On 19/08/2020 09:39, Evan Whelan wrote:
> 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
> 



More information about the net-dev mailing list