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

Naoto Sato naoto at openjdk.org
Thu Oct 17 20:25:40 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:

  A bit of re-org

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

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

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

  Stats: 9 lines in 2 files changed: 3 ins; 5 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