Skip to content

Commit c7df72f

Browse files
author
Stuart Marks
committed
8358809: Improve link to stdin.encoding from java.lang.IO
Reviewed-by: naoto Backport-of: d024f58e61ec27f6c13fde5dadb95c31875815d6
1 parent 80e066e commit c7df72f

File tree

1 file changed

+1
-1
lines changed
  • src/java.base/share/classes/java/lang

1 file changed

+1
-1
lines changed

src/java.base/share/classes/java/lang/IO.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
* <p>
3939
* The {@link #readln()} and {@link #readln(String)} methods decode bytes read from
4040
* {@code System.in} into characters. The charset used for decoding is specified by the
41-
* {@link System#getProperties stdin.encoding} property. If this property is not present,
41+
* {@link System##stdin.encoding stdin.encoding} property. If this property is not present,
4242
* or if the charset it names cannot be loaded, then UTF-8 is used instead. Decoding
4343
* always replaces malformed and unmappable byte sequences with the charset's default
4444
* replacement string.

0 commit comments

Comments
 (0)