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

Naoto Sato naoto at openjdk.org
Tue Oct 22 18:55:29 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:

  Fixed a typo

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/21569/files
  - new: https://git.openjdk.org/jdk/pull/21569/files/c234961e..8e9f2a21

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

  Stats: 1 line in 1 file changed: 0 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