RFR: 8356892: runtime/jni/CalleeSavedRegisters/FPRegs.java fails on static-jdk

Jiangli Zhou jiangli at openjdk.org
Thu May 15 14:42:59 UTC 2025


On Thu, 15 May 2025 07:33:43 GMT, David Holmes <dholmes 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

@dholmes-ora @shipilev Thanks!

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

PR Comment: https://git.openjdk.org/jdk/pull/25239#issuecomment-2884067858


More information about the hotspot-runtime-dev mailing list