On Wed, 19 Mar 2025 00:29:49 GMT, David Holmes <dhol...@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. > > @jianglizhou shouldn't these native executables be built differently to work > with the static JDK? Otherwise how does a user create a native executable > that launches the JVM? Thanks, @dholmes-ora! ------------- PR Comment: https://git.openjdk.org/jdk/pull/24103#issuecomment-2740792904