Skip to content

Commit c5aaa76

Browse files
committed
8352276: Skip jtreg tests using native executable with libjvm.so/libjli.so dependencies on static JDK
Reviewed-by: dholmes
1 parent 29f243f commit c5aaa76

File tree

8 files changed

+8
-0
lines changed

8 files changed

+8
-0
lines changed

test/hotspot/jtreg/runtime/StackGap/TestStackGap.java

+1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
* @modules java.base/jdk.internal.misc
2828
* @library /test/lib
2929
* @requires os.family == "linux"
30+
* @requires !jdk.static
3031
* @compile T.java
3132
* @run main/native TestStackGap
3233
*/

test/hotspot/jtreg/runtime/StackGuardPages/TestStackGuardPages.java

+1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
* @modules java.base/jdk.internal.misc
2828
* @library /test/lib
2929
* @requires os.family == "linux"
30+
* @requires !jdk.static
3031
* @compile DoOverflow.java
3132
* @run main/native TestStackGuardPages
3233
*/

test/hotspot/jtreg/runtime/TLS/TestTLS.java

+1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
* @modules java.base/jdk.internal.misc
2929
* @library /test/lib
3030
* @requires os.family == "linux"
31+
* @requires !jdk.static
3132
* @compile T.java
3233
* @run main/native TestTLS
3334
*/

test/hotspot/jtreg/runtime/jni/daemonDestroy/TestDaemonDestroy.java

+1
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
* a daemon and non-daemon thread. The result should be the same in
3030
* both cases.
3131
* @requires vm.flagless
32+
* @requires !jdk.static
3233
* @library /test/lib
3334
* @build Main
3435
* @run main/native TestDaemonDestroy

test/hotspot/jtreg/runtime/jni/getCreatedJavaVMs/TestGetCreatedJavaVMs.java

+1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
* @test
2626
* @library /test/lib
2727
* @requires os.family != "Windows"
28+
* @requires !jdk.static
2829
* @run driver TestGetCreatedJavaVMs
2930
*/
3031
import jdk.test.lib.Utils;

test/jdk/java/lang/reflect/exeCallerAccessTest/CallerAccessTest.java

+1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
* @test
2727
* @bug 8221530 8221642
2828
* @library /test/lib
29+
* @requires !jdk.static
2930
* @run main/native CallerAccessTest
3031
*/
3132

test/jdk/jni/nullCaller/NullCallerTest.java

+1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
* @summary Test uses custom launcher that starts VM using JNI that verifies
2929
* various API called with a null caller class function properly.
3030
* @library /test/lib
31+
* @requires !jdk.static
3132
* @modules java.base/jdk.internal.module
3233
* jdk.compiler
3334
* @build NullCallerTest

test/jdk/tools/launcher/JniInvocationTest.java

+1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
* @bug 8213362
2828
* @comment Test uses custom launcher that starts VM using JNI via libjli, only for MacOS
2929
* @requires os.family == "mac"
30+
* @requires !jdk.static
3031
* @library /test/lib
3132
* @run main/native JniInvocationTest
3233
*/

0 commit comments

Comments
 (0)