Integrated: 8266774: System property values for stdout/err on Windows UTF-8

Naoto Sato naoto at openjdk.java.net
Mon May 10 16:28:54 UTC 2021


On Fri, 7 May 2021 22:46:08 GMT, Naoto Sato <naoto at openjdk.org> wrote:

> Please review this small fix to Windows system property init code. This is leftover from the support for `Console.charset()` method, where it lacked to initialize `sun.stdout/err.encoding` to `UTF-8` for the code page `cp65001`.  The fix has been manually verified, but no automated test case is provided, as automatically setting `UTF-8` for the system locale on Windows test machine seems not possible.

This pull request has now been integrated.

Changeset: c494efc5
Author:    Naoto Sato <naoto at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/c494efc5b5d9a142fceff600285fd4c8c883e795
Stats:     2 lines in 1 file changed: 2 ins; 0 del; 0 mod

8266774: System property values for stdout/err on Windows UTF-8

Reviewed-by: bpb, alanb

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

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


More information about the core-libs-dev mailing list