Integrated: 8333427: langtools/tools/javac/newlines/NewLineTest.java is failing on Japanese Windows

KIRIYAMA Takuya duke at openjdk.org
Wed Nov 6 05:41:51 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.

This pull request has now been integrated.

Changeset: 1b0281dc
Author:    KIRIYAMA Takuya <kiriyama.takuya at fujitsu.com>
Committer: Jaikiran Pai <jpai at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/1b0281dc77f41fc5df323c7f7b25a4138b1ffb9e
Stats:     4 lines in 1 file changed: 1 ins; 0 del; 3 mod

8333427: langtools/tools/javac/newlines/NewLineTest.java is failing on Japanese Windows

Reviewed-by: jjg

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

PR: https://git.openjdk.org/jdk/pull/19519


More information about the compiler-dev mailing list