RFR: 8272358: Some tests may fail when executed with other locales than the US

Alexey Ivanov aivanov at openjdk.java.net
Wed Nov 3 23:28:11 UTC 2021


On Thu, 12 Aug 2021 08:46:07 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:

> As mentioned in the bug report this issue was reported a few times, I have checked all tests in tier1/tier2/tier3 and found these four tests which fail because of non-US locale. The common issue is that the output depends on the locale(ex: 3.14 VS 3,14).

I can confirm that these fixes make these tests pass in Russian locale.

Two of the tests fail with timeout for me: `ToolBasicTest.java` and `ToolSimpleTest.java`; the other two `LambdaTranslationTest{1,2}.java` fail without the fix and pass with the proposed fix applied. I'm inclined to trust that the first pair also passes successfully with the fix.

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

Marked as reviewed by aivanov (Reviewer).

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


More information about the compiler-dev mailing list