RFR: 8274544: Langtools command's usage were garbled on Japanese Windows [v2]
Naoto Sato
naoto at openjdk.java.net
Wed Oct 6 00:06:06 UTC 2021
On Mon, 4 Oct 2021 07:13:37 GMT, Ichiroh Takiguchi <itakiguchi at openjdk.org> wrote:
>> JEP-400 (UTF-8 by Default) was eabled on JDK18-b13.
>> After JDK18-b13, javac and some other langtool command's usage were garbled on Japanese Windows.
>> These commands use PrintWriter instead of standard out/err with PrintStream.
>
> Ichiroh Takiguchi has updated the pull request incrementally with one additional commit since the last revision:
>
> 8274544: Langtools command's usage were garbled on Japanese Windows
I just grepped `System.out/err` in jshell source directory, and found another location in `tool/JShellToolProvider.java` that uses bare stdout/err. Would you also apply the fix and see the result?
-------------
PR: https://git.openjdk.java.net/jdk/pull/5771
More information about the core-libs-dev
mailing list