changeset 11675:d108c790e561

8157242: Some java/lang/invoke tests miss othervm Reviewed-by: robm
author mhaupt
date Tue, 24 May 2016 08:56:37 +0200
parents d9878355b466
children acd98af6e8fb 425279d8815d
files test/java/lang/invoke/CustomizedLambdaFormTest.java test/java/lang/invoke/VarargsArrayTest.java
diffstat 2 files changed, 4 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/test/java/lang/invoke/CustomizedLambdaFormTest.java	Wed May 18 22:27:10 2016 -0700
+++ b/test/java/lang/invoke/CustomizedLambdaFormTest.java	Tue May 24 08:56:37 2016 +0200
@@ -26,7 +26,7 @@
 /* @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 {
 
--- a/test/java/lang/invoke/VarargsArrayTest.java	Wed May 18 22:27:10 2016 -0700
+++ b/test/java/lang/invoke/VarargsArrayTest.java	Tue May 24 08:56:37 2016 +0200
@@ -32,13 +32,12 @@
  * @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;