test/compiler/rtm/method_options/TestNoRTMLockElidingOption.java

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

@@ -27,12 +27,11 @@
  * @bug 8031320
  * @summary Verify that NoRTMLockEliding option could be applied to
  *          specified method and that such method will not use rtm.
  * @library /testlibrary /testlibrary/whitebox /compiler/testlibrary
  * @build TestNoRTMLockElidingOption
- * @run main ClassFileInstaller sun.hotspot.WhiteBox
- * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
+ * @run main/othervm/bootclasspath -XX:+UnlockDiagnosticVMOptions
  *                   -XX:+WhiteBoxAPI TestNoRTMLockElidingOption
  */
 
 import java.util.List;
 import com.oracle.java.testlibrary.*;