[jdk25u-dev] RFR: 8293484: AArch64: TestUseSHA512IntrinsicsOptionOnSupportedCPU.java fails on CPU with SHA512 feature support

Roland Mesde duke at openjdk.org
Fri Dec 12 23:03:39 UTC 2025


Backporting JDK-8293484: AArch64: TestUseSHA512IntrinsicsOptionOnSupportedCPU.java fails on CPU with SHA512 feature support

Change test predicates to check intrinsics availability in the JVM platform instead of underlying hardware support. This aligns test expectations with actual JVM behavior rather than hardware capabilities.

For parity with Oracle JDK.

Ran related tests on linux-x64, linux-aarch64, macos-aarch64 and windows-x64:

(Passed) - make test TEST=test/hotspot/jtreg/compiler/intrinsics/sha/cli

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

Commit messages:
 - Backport 696821670e11fee003906806f081038032ac4985

Changes: https://git.openjdk.org/jdk25u-dev/pull/80/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk25u-dev&pr=80&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8293484
  Stats: 4 lines in 2 files changed: 0 ins; 1 del; 3 mod
  Patch: https://git.openjdk.org/jdk25u-dev/pull/80.diff
  Fetch: git fetch https://git.openjdk.org/jdk25u-dev.git pull/80/head:pull/80

PR: https://git.openjdk.org/jdk25u-dev/pull/80


More information about the jdk-updates-dev mailing list