On Mon, 21 Oct 2024 17:49:33 GMT, Naoto Sato <[email protected]> wrote:

>> Changing the charset initialization of `java.io.Console` class, which is the 
>> basis of `java.io.IO`, so that it would behave the same way as `System.out` 
>> wrt encoding. This change will also have the capability to override the 
>> default charset used in `IO` methods with `stdout.encoding` system property. 
>> A corresponding CSR has also been drafted.
>
> Naoto Sato has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   Reflects review comments

src/java.base/share/classes/java/lang/System.java line 150:

> 148:      * specified by the host environment or user. The encoding used
> 149:      * in the conversion from characters to bytes is equivalent to
> 150:      * <a href="#stdout.encoding">stdout.encoding</a>.

Suggestion:

     * {@systemProperty stdout.encoding}.


This defines the anchor with the same id, and also makes this property 
available for javadoc index search. Example includes the system property at 
https://download.java.net/java/early_access/jdk24/docs/api/java.base/java/lang/ClassLoader.html#java.system.class.loader

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

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

Reply via email to