Integrated: 8349288: runtime/os/windows/TestAvailableProcessors.java fails on localized Windows platform
Kazuhisa Takakuri
ktakakuri at openjdk.org
Wed Sep 10 06:40:26 UTC 2025
On Mon, 10 Feb 2025 06:18:42 GMT, Kazuhisa Takakuri <ktakakuri at openjdk.org> wrote:
> To resolve runtime/os/windows/TestAvailableProcessors.java failure, I made "systeminfo.exe" executed with "chcp 437". This ensures that the English message "OS Version: " is output on localized windows platforms.
> I added the path C:\Windows\System32 to make chcp command recognized on the GHA Windows test machine. Without this addition, GHA will fail.
> After this fix, I verified that the test passed.
>
> https://github.com/openjdk/jdk/pull/22142
> I refer to this fix.
> tools/jpackage/windows/Win8301247Test.java does not run in GHA, so the problems with recognition of chcp command did not occur before.
>
> Thanks.
This pull request has now been integrated.
Changeset: 9e3fa321
Author: Kazuhisa Takakuri <ktakakuri at openjdk.org>
Committer: David Holmes <dholmes at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/9e3fa3216fd4ebd73da6e003a7b767cf001a1169
Stats: 18 lines in 1 file changed: 17 ins; 0 del; 1 mod
8349288: runtime/os/windows/TestAvailableProcessors.java fails on localized Windows platform
Reviewed-by: dholmes, alanb
-------------
PR: https://git.openjdk.org/jdk/pull/23536
More information about the hotspot-runtime-dev
mailing list