8180324: [JVMCI][TESTBUG] failed JVMCI junit test NativeCallTest.java
authorepavlova
Thu, 18 May 2017 14:33:09 -0700
changeset 46480 77e911558d21
parent 46479 a10af96a2dbb
child 46481 a8e8bb9d1603
8180324: [JVMCI][TESTBUG] failed JVMCI junit test NativeCallTest.java Reviewed-by: iignatyev, mseledtsov, kvn
hotspot/test/compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/NativeCallTest.java
hotspot/test/runtime/noClassDefFoundMsg/NoClassDefFoundMsg.java
hotspot/test/serviceability/jvmti/GetModulesInfo/JvmtiGetAllModulesTest.java
--- a/hotspot/test/compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/NativeCallTest.java	Thu May 18 11:27:06 2017 -0700
+++ b/hotspot/test/compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/NativeCallTest.java	Thu May 18 14:33:09 2017 -0700
@@ -34,7 +34,7 @@
  *          jdk.internal.vm.ci/jdk.vm.ci.amd64
  *          jdk.internal.vm.ci/jdk.vm.ci.sparc
  * @compile CodeInstallationTest.java TestHotSpotVMConfig.java NativeCallTest.java TestAssembler.java sparc/SPARCTestAssembler.java amd64/AMD64TestAssembler.java
- * @run junit/othervm -XX:+UnlockExperimentalVMOptions -XX:+EnableJVMCI  -Xbootclasspath/a:. jdk.vm.ci.code.test.NativeCallTest
+ * @run junit/othervm/native -XX:+UnlockExperimentalVMOptions -XX:+EnableJVMCI  -Xbootclasspath/a:. jdk.vm.ci.code.test.NativeCallTest
  */
 package jdk.vm.ci.code.test;
 
--- a/hotspot/test/runtime/noClassDefFoundMsg/NoClassDefFoundMsg.java	Thu May 18 11:27:06 2017 -0700
+++ b/hotspot/test/runtime/noClassDefFoundMsg/NoClassDefFoundMsg.java	Thu May 18 14:33:09 2017 -0700
@@ -28,7 +28,7 @@
  * @library /test/lib
  * @modules java.base/jdk.internal.misc
  *          java.compiler
- * @run main NoClassDefFoundMsg
+ * @run main/native NoClassDefFoundMsg
  */
 
 import jdk.test.lib.InMemoryJavaCompiler;
--- a/hotspot/test/serviceability/jvmti/GetModulesInfo/JvmtiGetAllModulesTest.java	Thu May 18 11:27:06 2017 -0700
+++ b/hotspot/test/serviceability/jvmti/GetModulesInfo/JvmtiGetAllModulesTest.java	Thu May 18 14:33:09 2017 -0700
@@ -25,7 +25,7 @@
  * @test
  * @summary Verifies the JVMTI GetAllModules API
  * @library /test/lib
- * @run main/othervm -agentlib:JvmtiGetAllModulesTest JvmtiGetAllModulesTest
+ * @run main/othervm/native -agentlib:JvmtiGetAllModulesTest JvmtiGetAllModulesTest
  *
  */
 import java.lang.module.ModuleReference;