On Tue, 18 Mar 2025 18:57:04 GMT, Jiangli Zhou <jian...@openjdk.org> wrote:

> 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.

This pull request has now been integrated.

Changeset: 91836e18
Author:    Jiangli Zhou <jian...@openjdk.org>
URL:       
https://git.openjdk.org/jdk/commit/91836e181a789ef16e8d70bfde4c040e6f5031db
Stats:     8 lines in 8 files changed: 8 ins; 0 del; 0 mod

8352276: Skip jtreg tests using native executable with libjvm.so/libjli.so 
dependencies on static JDK

Reviewed-by: dholmes

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

PR: https://git.openjdk.org/jdk/pull/24103

Reply via email to