8230376: [TESTBUG] runtime/StackTrace/HiddenFrameTest.java fails with release VM
Reviewed-by: dholmes
--- 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;