@@ -147,8 +147,7 @@ private System() {
147
147
* corresponds to display output or another output destination
148
148
* specified by the host environment or user. The encoding used
149
149
* in the conversion from characters to bytes is equivalent to
150
- * {@link Console#charset()} if the {@code Console} exists,
151
- * <a href="#stdout.encoding">stdout.encoding</a> otherwise.
150
+ * <a href="#stdout.encoding">stdout.encoding</a>.
152
151
* <p>
153
152
* For simple stand-alone Java applications, a typical way to write
154
153
* a line of output data is:
@@ -168,7 +167,6 @@ private System() {
168
167
* @see java.io.PrintStream#println(long)
169
168
* @see java.io.PrintStream#println(java.lang.Object)
170
169
* @see java.io.PrintStream#println(java.lang.String)
171
- * @see Console#charset()
172
170
* @see <a href="#stdout.encoding">stdout.encoding</a>
173
171
*/
174
172
public static final PrintStream out = null ;
@@ -788,7 +786,8 @@ public static native void arraycopy(Object src, int srcPos,
788
786
* <td>Character encoding name derived from the host environment and/or
789
787
* the user's settings. Setting this system property has no effect.</td></tr>
790
788
* <tr><th scope="row">{@systemProperty stdout.encoding}</th>
791
- * <td>Character encoding name for {@link System#out System.out}.
789
+ * <td>Character encoding name for {@link System#out System.out} and
790
+ * {@link System#console() System.console()}.
792
791
* The Java runtime can be started with the system property set to {@code UTF-8},
793
792
* starting it with the property set to another value leads to undefined behavior.
794
793
* <tr><th scope="row">{@systemProperty stderr.encoding}</th>
0 commit comments