From c648fbbe96e33b7d9051eab1e454ebe9e919369a Mon Sep 17 00:00:00 2001 From: mhaupt Date: Tue, 24 May 2016 08:56:37 +0200 Subject: [PATCH] 8157242: Some java/lang/invoke tests miss othervm Reviewed-by: robm --- test/java/lang/invoke/CustomizedLambdaFormTest.java | 2 +- test/java/lang/invoke/VarargsArrayTest.java | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/test/java/lang/invoke/CustomizedLambdaFormTest.java b/test/java/lang/invoke/CustomizedLambdaFormTest.java index 3e2467363..a0ecdcd28 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 a247fa5b4..468eb42c6 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; -- GitLab