From f825a51198137799f00a0ec2cefa1daa59542f68 Mon Sep 17 00:00:00 2001 From: Kieran Farrell Date: Mon, 26 May 2025 11:12:49 +0000 Subject: [PATCH] 7046003: Default value of Authenticator.getRequestingURL() is not specified Reviewed-by: michaelm, jpai --- src/java.base/share/classes/java/net/Authenticator.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/java.base/share/classes/java/net/Authenticator.java b/src/java.base/share/classes/java/net/Authenticator.java index 9ac504f9a62..fb33596feed 100644 --- a/src/java.base/share/classes/java/net/Authenticator.java +++ b/src/java.base/share/classes/java/net/Authenticator.java @@ -426,12 +426,12 @@ class Authenticator { } /** - * Returns the URL that resulted in this - * request for authentication. + * Returns the URL that resulted in this request for authentication. + * If the corresponding request does not specify a URL, this method returns null. * * @since 1.5 * - * @return the requesting URL + * @return the requesting URL, or null if not available. * */ protected URL getRequestingURL () {