On Tue, 14 Jul 2026 08:19:29 GMT, Guanqiang Han <[email protected]> wrote:

>> test/jdk/tools/launcher/Settings.java line 331:
>> 
>>> 329:         TestResult tr = doExec(javaCmd,
>>> 330:                                "-Duser.language=en",
>>> 331:                                "-Duser.country=US",
>> 
>> Why do we need these?
>
> They ensure English output because the test checks for "Usage: java". In a 
> non-English environment, the usage text may be localized, causing the test to 
> fail.

Should this locale setting be applied more broadly? It feels a bit out of place 
in this specific test. Could be fixed separately from this issue.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/31891#discussion_r3581206193

Reply via email to