From c234961e32d5da15685cc6dbb01be153ea58bb5a Mon Sep 17 00:00:00 2001 From: Naoto Sato Date: Tue, 22 Oct 2024 09:49:32 -0700 Subject: [PATCH] Changed HTML anchor to link tag, do the same for stderr.encoding --- src/java.base/share/classes/java/lang/System.java | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/java.base/share/classes/java/lang/System.java b/src/java.base/share/classes/java/lang/System.java index 9c1b8778c9527..5b04bca4f44af 100644 --- a/src/java.base/share/classes/java/lang/System.java +++ b/src/java.base/share/classes/java/lang/System.java @@ -147,7 +147,7 @@ private System() { * corresponds to display output or another output destination * specified by the host environment or user. The encoding used * in the conversion from characters to bytes is equivalent to - * stdout.encoding. + * {@link ##stdout.encoding stdout.encoding}. *

* For simple stand-alone Java applications, a typical way to write * a line of output data is: @@ -167,7 +167,7 @@ private System() { * @see java.io.PrintStream#println(long) * @see java.io.PrintStream#println(java.lang.Object) * @see java.io.PrintStream#println(java.lang.String) - * @see stdout.encoding + * @see ##stdout.encoding stdout.encoding */ public static final PrintStream out = null; @@ -183,11 +183,9 @@ private System() { * variable {@code out}, has been redirected to a file or other * destination that is typically not continuously monitored. * The encoding used in the conversion from characters to bytes is - * equivalent to {@link Console#charset()} if the {@code Console} - * exists, stderr.encoding otherwise. + * equivalent to {@link ##stderr.encoding stderr.encoding}. * - * @see Console#charset() - * @see stderr.encoding + * @see ##stderr.encoding stderr.encoding */ public static final PrintStream err = null;