RFR: 8269373: some tests in jdk/tools/launcher/ fails on localized Windows platform
Naoto Sato
naoto at openjdk.java.net
Tue Jun 29 19:29:04 UTC 2021
On Fri, 25 Jun 2021 12:10:18 GMT, Masanori Yano <myano at openjdk.org> wrote:
> Hi all,
>
> Could you please review the 8269373 bug fixes?
>
> These tests call java.lang.ProcessBuilder in direct, so not used jtreg command option. To run non-localized tests, -Duser.language=en and -Duser.country=US options should be added in ProcessBuilder.
>From a peek at the bug report, I could not find out the exact cause why they are failing. Have you figured it out?
As to the fix itself, I would rather avoid hardcoding `en-US` in the argument. Would that be replaced with the launching process' locale?
-------------
PR: https://git.openjdk.java.net/jdk/pull/4594
More information about the core-libs-dev
mailing list