Skip to content

Commit e4ecda2

Browse files
committed
8356221: Clarify Console.charset() method description
Reviewed-by: bpb
1 parent 9273094 commit e4ecda2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/java.base/share/classes/java/io/Console.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,7 @@ public void flush() {
512512
* Returns the {@link java.nio.charset.Charset Charset} object used for
513513
* the {@code Console}.
514514
* <p>
515-
* The returned charset corresponds to the input and output source
515+
* The returned charset is used for interpreting the input and output source
516516
* (e.g., keyboard and/or display) specified by the host environment or user,
517517
* which defaults to the one based on {@link System##stdout.encoding stdout.encoding}.
518518
* It may not necessarily be the same as the default charset returned from

0 commit comments

Comments
 (0)