diff --git a/test/java/lang/invoke/CustomizedLambdaFormTest.java b/test/java/lang/invoke/CustomizedLambdaFormTest.java index 3e2467363be868e5b138165943ba64073d26dde0..a0ecdcd28d12d830951d30363ab081c14c21bcc8 100644 --- a/test/java/lang/invoke/CustomizedLambdaFormTest.java +++ b/test/java/lang/invoke/CustomizedLambdaFormTest.java @@ -26,7 +26,7 @@ package java.lang.invoke; /* @test * @summary Assertion in LambdaFormEditor.bindArgumentType is too strong * - * @run main/bootclasspath -esa java.lang.invoke.CustomizedLambdaFormTest + * @run main/othervm/bootclasspath -esa java.lang.invoke.CustomizedLambdaFormTest */ public class CustomizedLambdaFormTest { diff --git a/test/java/lang/invoke/VarargsArrayTest.java b/test/java/lang/invoke/VarargsArrayTest.java index a247fa5b43414e7bedc4bd73fbc2f825baa4c178..468eb42c689f664fe0b25e01d2dec13f1c72aa9f 100644 --- a/test/java/lang/invoke/VarargsArrayTest.java +++ b/test/java/lang/invoke/VarargsArrayTest.java @@ -32,13 +32,12 @@ import com.oracle.testlibrary.jsr292.CodeCacheOverflowProcessor; * @summary unit tests for varargs array methods: MethodHandleInfo.varargsArray(int), * MethodHandleInfo.varargsArray(Class,int) & MethodHandleInfo.varargsList(int) * @library /lib/testlibrary /lib/testlibrary/jsr292 - * @run main/bootclasspath java.lang.invoke.VarargsArrayTest - * @run main/bootclasspath -DVarargsArrayTest.MAX_ARITY=255 -DVarargsArrayTest.START_ARITY=250 - * java.lang.invoke.VarargsArrayTest + * @run main/othervm/bootclasspath java.lang.invoke.VarargsArrayTest + * @run main/othervm/bootclasspath -DVarargsArrayTest.MAX_ARITY=255 -DVarargsArrayTest.START_ARITY=250 java.lang.invoke.VarargsArrayTest */ /* This might take a while and burn lots of metadata: - * @run main/bootclasspath -DVarargsArrayTest.MAX_ARITY=255 -DVarargsArrayTest.EXHAUSTIVE=true java.lang.invoke.VarargsArrayTest + * @run main/othervm/bootclasspath -DVarargsArrayTest.MAX_ARITY=255 -DVarargsArrayTest.EXHAUSTIVE=true java.lang.invoke.VarargsArrayTest */ public class VarargsArrayTest { private static final Class CLASS = VarargsArrayTest.class;