RFR: 8356892: runtime/jni/CalleeSavedRegisters/FPRegs.java fails on static-jdk
David Holmes
dholmes at openjdk.org
Thu May 15 07:35:53 UTC 2025
On Wed, 14 May 2025 21:20:52 GMT, Jiangli Zhou <jiangli at openjdk.org> wrote:
> 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.
Ok
-------------
Marked as reviewed by dholmes (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/25239#pullrequestreview-2842587602
More information about the hotspot-runtime-dev
mailing list