RFR: 8276970: Default charset for PrintWriter that wraps PrintStream [v2]

Naoto Sato naoto at openjdk.java.net
Tue Nov 16 18:08:08 UTC 2021


> Fixing the default charset for PrintWriter/OutputStreamWriter that wraps a PrintStream to its charset. This issue was raised during the conversations in https://github.com/openjdk/jdk/pull/5771
> A corresponding CSR has also been drafted: https://bugs.openjdk.java.net/browse/JDK-8277078

Naoto Sato has updated the pull request incrementally with one additional commit since the last revision:

  Made PrintStream::charset() public, charset field final, and refined wordings.

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/6401/files
  - new: https://git.openjdk.java.net/jdk/pull/6401/files/006dc7e6..2362e456

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=6401&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=6401&range=00-01

  Stats: 23 lines in 3 files changed: 8 ins; 3 del; 12 mod
  Patch: https://git.openjdk.java.net/jdk/pull/6401.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/6401/head:pull/6401

PR: https://git.openjdk.java.net/jdk/pull/6401


More information about the core-libs-dev mailing list