RFR: 8333427: langtools/tools/javac/newlines/NewLineTest.java is failing on Japanese Windows
KIRIYAMA Takuya
duke at openjdk.org
Fri Sep 6 05:47:19 UTC 2024
On Mon, 3 Jun 2024 11:42:08 GMT, KIRIYAMA Takuya <duke at openjdk.org> wrote:
> I fixed to get Charset from native.encoding instead of Charset.defaultCharset() when reading a file to which the output of javac run in the test was redirected.
> The modified code is based on the alternatives given in JEP400.
> I verified that the test passed on Windows in both Japanese and English locales with this fix.
Could someone from the compiler team please review this PR? It fixes the test regression in certain environments.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/19519#issuecomment-2333275227
More information about the compiler-dev
mailing list