On Sat, 19 Oct 2024 07:10:02 GMT, Alan Bateman <[email protected]> wrote:

>> Naoto Sato has updated the pull request incrementally with one additional 
>> commit since the last revision:
>> 
>>   Explicitly refer to `stdout.encoding`
>
> src/java.base/share/classes/java/io/Console.java line 584:
> 
>> 582:      * The returned charset corresponds to the input and output source
>> 583:      * (e.g., keyboard and/or display) specified by the host 
>> environment or user,
>> 584:      * which defaults to the one based on {@link 
>> System##stdout.encoding stdtout.encoding}.
> 
> In System.getProperties, this is specified for as the encoding for 
> System.out. That may need to be expanded to say Console too.

Added `System.console()` mention to `stdout.encoding`. Also removed `Console` 
mention from `System.out`, as it no longer provides extra meaning.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/21569#discussion_r1809245944

Reply via email to