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

Reviewed-by: dholmes
This commit is contained in:
Jiangli Zhou 2025-03-20 15:09:03 +00:00
parent 2560a63773
commit 91836e181a
8 changed files with 8 additions and 0 deletions

View File

@ -27,6 +27,7 @@
* @modules java.base/jdk.internal.misc
* @library /test/lib
* @requires os.family == "linux"
* @requires !jdk.static
* @compile T.java
* @run main/native TestStackGap
*/

View File

@ -27,6 +27,7 @@
* @modules java.base/jdk.internal.misc
* @library /test/lib
* @requires os.family == "linux"
* @requires !jdk.static
* @compile DoOverflow.java
* @run main/native TestStackGuardPages
*/

View File

@ -28,6 +28,7 @@
* @modules java.base/jdk.internal.misc
* @library /test/lib
* @requires os.family == "linux"
* @requires !jdk.static
* @compile T.java
* @run main/native TestTLS
*/

View File

@ -29,6 +29,7 @@
* a daemon and non-daemon thread. The result should be the same in
* both cases.
* @requires vm.flagless
* @requires !jdk.static
* @library /test/lib
* @build Main
* @run main/native TestDaemonDestroy

View File

@ -25,6 +25,7 @@
* @test
* @library /test/lib
* @requires os.family != "Windows"
* @requires !jdk.static
* @run driver TestGetCreatedJavaVMs
*/
import jdk.test.lib.Utils;

View File

@ -26,6 +26,7 @@
* @test
* @bug 8221530 8221642
* @library /test/lib
* @requires !jdk.static
* @run main/native CallerAccessTest
*/

View File

@ -28,6 +28,7 @@
* @summary Test uses custom launcher that starts VM using JNI that verifies
* various API called with a null caller class function properly.
* @library /test/lib
* @requires !jdk.static
* @modules java.base/jdk.internal.module
* jdk.compiler
* @build NullCallerTest

View File

@ -27,6 +27,7 @@
* @bug 8213362
* @comment Test uses custom launcher that starts VM using JNI via libjli, only for MacOS
* @requires os.family == "mac"
* @requires !jdk.static
* @library /test/lib
* @run main/native JniInvocationTest
*/