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

Naoto Sato naoto at openjdk.java.net
Tue Nov 16 21:09: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:

  Refined PrintStream::charset()'s method description, and moved it down along with other instance methods.

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

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

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

  Stats: 18 lines in 1 file changed: 8 ins; 10 del; 0 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