Those system property values on Windows were derived from Windows' `GetConsoleCP()` call, but they should have been taken from `GetConsoleOutputCP()`. Replacing the incorrect call with the correct one won't change any behavior, as both calls return the same value by default (`GetOEMCP()`). However, it is still the right thing to do.
------------- Commit messages: - initial commit Changes: https://git.openjdk.org/jdk/pull/24263/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=24263&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8352906 Stats: 9 lines in 1 file changed: 4 ins; 0 del; 5 mod Patch: https://git.openjdk.org/jdk/pull/24263.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/24263/head:pull/24263 PR: https://git.openjdk.org/jdk/pull/24263