RFR: 8370378: Some compiler tests inadvertently exclude particular platforms

Marc Chevalier mchevalier at openjdk.org
Wed Oct 22 08:12:08 UTC 2025


On Wed, 22 Oct 2025 07:52:13 GMT, Tobias Hartmann <thartmann at openjdk.org> wrote:

> As @dholmes-ora described in JBS: For historical reasons `os.arch` is `amd64` on x86_64 Linux and Windows, but `x86_64` on macOS. I fixed the tests accordingly.
> 
> Thanks,
> Tobias

Interesting. And I guess it's not possible to change how os.arch behaves, or have another property more consistent?

I found the 3 same files to fix with `grep "requires.*x86_64" . -rIw | grep -v amd64` (and exchanging x86_64 and amd64) in `test/hotspot/jtreg/compiler/`.

Looks good.

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

Marked as reviewed by mchevalier (Committer).

PR Review: https://git.openjdk.org/jdk/pull/27931#pullrequestreview-3364197485


More information about the hotspot-compiler-dev mailing list