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

Naoto Sato naoto at openjdk.org
Tue Oct 22 16:56:36 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:

  Changed HTML anchor to link tag, do the same for stderr.encoding

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

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

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

  Stats: 6 lines in 1 file changed: 0 ins; 2 del; 4 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