8230376: [TESTBUG] runtime/StackTrace/HiddenFrameTest.java fails with release VM
authorjiefu
Fri, 30 Aug 2019 01:21:14 -0400
changeset 57958 bfb76c34e5c5
parent 57957 4364524f8cac
child 57959 6b539901e79e
8230376: [TESTBUG] runtime/StackTrace/HiddenFrameTest.java fails with release VM Reviewed-by: dholmes
test/hotspot/jtreg/runtime/StackTrace/HiddenFrameTest.java
--- a/test/hotspot/jtreg/runtime/StackTrace/HiddenFrameTest.java	Fri Aug 30 09:38:40 2019 +0800
+++ b/test/hotspot/jtreg/runtime/StackTrace/HiddenFrameTest.java	Fri Aug 30 01:21:14 2019 -0400
@@ -26,8 +26,8 @@
  * @bug 8216977
  * @summary Test null source file and negative line number from hidden frame produces correct output.
  * @library /test/lib
- * @run main/othervm -XX:+ShowHiddenFrames HiddenFrameTest visible
- * @run main/othervm -XX:-ShowHiddenFrames HiddenFrameTest hidden
+ * @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+ShowHiddenFrames HiddenFrameTest visible
+ * @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:-ShowHiddenFrames HiddenFrameTest hidden
  */
 
 import jdk.test.lib.Asserts;