8012698: [nashorn] tests fail to run with agentvm or samevm
authorsundar
Tue, 18 Jun 2013 18:43:05 +0530
changeset 18605 f515a84fb441
parent 18337 effcb00fcf58
child 18606 5704d7a4a0a8
8012698: [nashorn] tests fail to run with agentvm or samevm Reviewed-by: hannesw, jlaskey
nashorn/test/src/jdk/nashorn/api/javaaccess/BooleanAccessTest.java
nashorn/test/src/jdk/nashorn/api/javaaccess/MethodAccessTest.java
nashorn/test/src/jdk/nashorn/api/javaaccess/NumberAccessTest.java
nashorn/test/src/jdk/nashorn/api/javaaccess/NumberBoxingTest.java
nashorn/test/src/jdk/nashorn/api/javaaccess/ObjectAccessTest.java
nashorn/test/src/jdk/nashorn/api/javaaccess/StringAccessTest.java
--- a/nashorn/test/src/jdk/nashorn/api/javaaccess/BooleanAccessTest.java	Tue Jun 18 13:45:03 2013 +0530
+++ b/nashorn/test/src/jdk/nashorn/api/javaaccess/BooleanAccessTest.java	Tue Jun 18 18:43:05 2013 +0530
@@ -39,7 +39,7 @@
 /**
  * @test
  * @build jdk.nashorn.api.javaaccess.SharedObject jdk.nashorn.api.javaaccess.Person jdk.nashorn.api.javaaccess.BooleanAccessTest
- * @run testng jdk.nashorn.api.javaaccess.BooleanAccessTest
+ * @run testng/othervm jdk.nashorn.api.javaaccess.BooleanAccessTest
  */
 public class BooleanAccessTest {
 
--- a/nashorn/test/src/jdk/nashorn/api/javaaccess/MethodAccessTest.java	Tue Jun 18 13:45:03 2013 +0530
+++ b/nashorn/test/src/jdk/nashorn/api/javaaccess/MethodAccessTest.java	Tue Jun 18 18:43:05 2013 +0530
@@ -42,7 +42,7 @@
 /**
  * @test
  * @build jdk.nashorn.api.javaaccess.SharedObject jdk.nashorn.api.javaaccess.Person jdk.nashorn.api.javaaccess.MethodAccessTest
- * @run testng jdk.nashorn.api.javaaccess.MethodAccessTest
+ * @run testng/othervm jdk.nashorn.api.javaaccess.MethodAccessTest
  */
 public class MethodAccessTest {
 
--- a/nashorn/test/src/jdk/nashorn/api/javaaccess/NumberAccessTest.java	Tue Jun 18 13:45:03 2013 +0530
+++ b/nashorn/test/src/jdk/nashorn/api/javaaccess/NumberAccessTest.java	Tue Jun 18 18:43:05 2013 +0530
@@ -39,7 +39,7 @@
 /**
  * @test
  * @build jdk.nashorn.api.javaaccess.SharedObject jdk.nashorn.api.javaaccess.Person jdk.nashorn.api.javaaccess.NumberAccessTest
- * @run testng jdk.nashorn.api.javaaccess.NumberAccessTest
+ * @run testng/othervm jdk.nashorn.api.javaaccess.NumberAccessTest
  */
 public class NumberAccessTest {
 
--- a/nashorn/test/src/jdk/nashorn/api/javaaccess/NumberBoxingTest.java	Tue Jun 18 13:45:03 2013 +0530
+++ b/nashorn/test/src/jdk/nashorn/api/javaaccess/NumberBoxingTest.java	Tue Jun 18 18:43:05 2013 +0530
@@ -38,7 +38,7 @@
 /**
  * @test
  * @build jdk.nashorn.api.javaaccess.SharedObject jdk.nashorn.api.javaaccess.Person jdk.nashorn.api.javaaccess.NumberBoxingTest
- * @run testng jdk.nashorn.api.javaaccess.NumberBoxingTest
+ * @run testng/othervm jdk.nashorn.api.javaaccess.NumberBoxingTest
  */
 public class NumberBoxingTest {
 
--- a/nashorn/test/src/jdk/nashorn/api/javaaccess/ObjectAccessTest.java	Tue Jun 18 13:45:03 2013 +0530
+++ b/nashorn/test/src/jdk/nashorn/api/javaaccess/ObjectAccessTest.java	Tue Jun 18 18:43:05 2013 +0530
@@ -38,7 +38,7 @@
 /**
  * @test
  * @build jdk.nashorn.api.javaaccess.SharedObject jdk.nashorn.api.javaaccess.Person jdk.nashorn.api.javaaccess.ObjectAccessTest
- * @run testng jdk.nashorn.api.javaaccess.ObjectAccessTest
+ * @run testng/othervm jdk.nashorn.api.javaaccess.ObjectAccessTest
  */
 public class ObjectAccessTest {
 
--- a/nashorn/test/src/jdk/nashorn/api/javaaccess/StringAccessTest.java	Tue Jun 18 13:45:03 2013 +0530
+++ b/nashorn/test/src/jdk/nashorn/api/javaaccess/StringAccessTest.java	Tue Jun 18 18:43:05 2013 +0530
@@ -38,7 +38,7 @@
 /**
  * @test
  * @build jdk.nashorn.api.javaaccess.SharedObject jdk.nashorn.api.javaaccess.Person jdk.nashorn.api.javaaccess.StringAccessTest
- * @run testng jdk.nashorn.api.javaaccess.StringAccessTest
+ * @run testng/othervm jdk.nashorn.api.javaaccess.StringAccessTest
  */
 public class StringAccessTest {