test/compiler/types/correctness/CorrectnessTest.java

Print this page
rev 6415 : [mq]: 8011397.WhiteBoxPermission

@@ -26,24 +26,23 @@
  * @bug 8038418
  * @library /testlibrary /testlibrary/whitebox
  * @compile execution/TypeConflict.java execution/TypeProfile.java
  *          execution/MethodHandleDelegate.java
  * @build CorrectnessTest
- * @run main ClassFileInstaller sun.hotspot.WhiteBox
- * @run main/othervm -Xbootclasspath/a:. -XX:+IgnoreUnrecognizedVMOptions -XX:+UnlockExperimentalVMOptions
+ * @run main/othervm/bootclasspath -XX:+IgnoreUnrecognizedVMOptions -XX:+UnlockExperimentalVMOptions
  *                   -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI
  *                   -XX:TypeProfileLevel=222 -XX:+UseTypeSpeculation
  *                   -XX:CompileCommand=exclude,execution/*::methodNotToCompile
  *                   -XX:CompileCommand=dontinline,scenarios/Scenario::collectReturnType
  *                   CorrectnessTest RETURN
- * @run main/othervm -Xbootclasspath/a:. -XX:+IgnoreUnrecognizedVMOptions -XX:+UnlockExperimentalVMOptions
+ * @run main/othervm/bootclasspath -XX:+IgnoreUnrecognizedVMOptions -XX:+UnlockExperimentalVMOptions
  *                   -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI
  *                   -XX:TypeProfileLevel=222 -XX:+UseTypeSpeculation
  *                   -XX:CompileCommand=exclude,execution/*::methodNotToCompile
  *                   -XX:CompileCommand=dontinline,scenarios/Scenario::collectReturnType
  *                   CorrectnessTest PARAMETERS
- * @run main/othervm -Xbootclasspath/a:. -XX:+IgnoreUnrecognizedVMOptions -XX:+UnlockExperimentalVMOptions
+ * @run main/othervm/bootclasspath -XX:+IgnoreUnrecognizedVMOptions -XX:+UnlockExperimentalVMOptions
  *                   -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI
  *                   -XX:TypeProfileLevel=222 -XX:+UseTypeSpeculation
  *                   -XX:CompileCommand=exclude,execution/*::methodNotToCompile
  *                   -XX:CompileCommand=dontinline,scenarios/Scenario::collectReturnType
  *                   CorrectnessTest ARGUMENTS