In JDK24, the spec of the method reads:
```
The returned charset corresponds to the input and output source (e.g., keyboard and/or display) specified by the host environment or user, which defaults to the one based on stdout.encoding. It may not necessarily be the same as the default charset returned from Charset.defaultCharset().
```
It reads "The returned charset corresponds to the input and output source", but it only relies on `stdout.encoding`. Needs some clarification here
```
The returned charset corresponds to the input and output source (e.g., keyboard and/or display) specified by the host environment or user, which defaults to the one based on stdout.encoding. It may not necessarily be the same as the default charset returned from Charset.defaultCharset().
```
It reads "The returned charset corresponds to the input and output source", but it only relies on `stdout.encoding`. Needs some clarification here
- links to
-
Commit(master) openjdk/jdk/e4ecda2b
-
Review(master) openjdk/jdk/25103