RFR: 8352276: Skip jtreg tests using native executable with libjvm.so/libjli.so dependencies on static JDK
Jiangli Zhou
jiangli at openjdk.org
Tue Mar 18 19:02:18 UTC 2025
Please review this PR that adds `@requires !jdk.static` to tests, thanks.
- runtime/StackGap/TestStackGap.java
- runtime/StackGuardPages/TestStackGuardPages.java
- runtime/TLS/TestTLS.java
- runtime/jni/daemonDestroy/TestDaemonDestroy.java
- runtime/jni/getCreatedJavaVMs/TestGetCreatedJavaVMs.java
- jdk/java/lang/reflect/exeCallerAccessTest/CallerAccessTest.java
- jdk/jni/nullCaller/NullCallerTest.java
- jdk/tools/launcher/JniInvocationTest.java
These tests use native executables that have dependencies on `libjvm.so`, `libjli.so`, etc. Static JDK does not provide the separate JDK/VM shared libraries, hence cannot support the specific testing mode.
-------------
Commit messages:
- Skip tests using native executable with libjvm.so/libjli.so dependencies on static JDK.
Changes: https://git.openjdk.org/jdk/pull/24103/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=24103&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8352276
Stats: 8 lines in 8 files changed: 8 ins; 0 del; 0 mod
Patch: https://git.openjdk.org/jdk/pull/24103.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/24103/head:pull/24103
PR: https://git.openjdk.org/jdk/pull/24103
More information about the core-libs-dev
mailing list