# HG changeset patch # User jiefu # Date 1567135049 -28800 # Fri Aug 30 11:17:29 2019 +0800 # Node ID d694f130049b7933320cca5225378273c021c879 # Parent 4364524f8cacc5f87f6f90fb3a303856c97f0deb 8230376: [TESTBUG] runtime/StackTrace/HiddenFrameTest.java fails with release VM Reviewed-by: diff --git a/test/hotspot/jtreg/runtime/StackTrace/HiddenFrameTest.java b/test/hotspot/jtreg/runtime/StackTrace/HiddenFrameTest.java --- a/test/hotspot/jtreg/runtime/StackTrace/HiddenFrameTest.java +++ b/test/hotspot/jtreg/runtime/StackTrace/HiddenFrameTest.java @@ -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;