RFR: 8341975: Unable to set encoding for IO.println, IO.print and IO.readln [v3]

Naoto Sato naoto at openjdk.org
Fri Oct 18 21:43:49 UTC 2024


> 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:

  Explicitly refer to `stdout.encoding`

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/21569/files
  - new: https://git.openjdk.org/jdk/pull/21569/files/581bed89..9000280b

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=21569&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=21569&range=01-02

  Stats: 2 lines in 1 file changed: 1 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/21569.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/21569/head:pull/21569

PR: https://git.openjdk.org/jdk/pull/21569


More information about the core-libs-dev mailing list