RFR: 8356892: runtime/jni/CalleeSavedRegisters/FPRegs.java fails on static-jdk
Jiangli Zhou
jiangli at openjdk.org
Wed May 14 21:25:30 UTC 2025
Please review this PR for skipping runtime/jni/CalleeSavedRegisters/FPRegs.java on static-jdk.
FPRegs.java uses a native test launcher executable (`exeFPRegs`) and has a similar situation as the tests described in [JDK-8352276](https://bugs.openjdk.org/browse/JDK-8352276) and [JDK-8356904](https://bugs.openjdk.org/browse/JDK-8356904), although `exeFPRegs` doesn't have an explicit build-time created dependency on libjvm.so (i.e. linking against libjvm explicitly). FPRegs.java at runtime needs to find libjvm.so and pass it to the native launcher executable for creating the VM. Please see discussions on supporting custom launcher on static JDK in https://github.com/openjdk/jdk/pull/24103 review comments. [JDK-8352305](https://bugs.openjdk.org/browse/JDK-8352305) will add tests using custom launcher executable on static JDK.
-------------
Commit messages:
- Update copyright year.
- Add `@requires !jdk.static` to test/hotspot/jtreg/runtime/jni/CalleeSavedRegisters/FPRegs.java.
Changes: https://git.openjdk.org/jdk/pull/25239/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=25239&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8356892
Stats: 2 lines in 1 file changed: 1 ins; 0 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/25239.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/25239/head:pull/25239
PR: https://git.openjdk.org/jdk/pull/25239
More information about the hotspot-runtime-dev
mailing list