-
Bug
-
Resolution: Fixed
-
P4
-
14
-
b13
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8245794 | 13.0.4 | Jie Fu | P4 | Resolved | Fixed | b03 |
JDK-8235524 | 11.0.7-oracle | Jie Fu | P4 | Resolved | Fixed | b01 |
JDK-8231050 | 11.0.6 | Jie Fu | P4 | Resolved | Fixed | b01 |
- Error
--------------------------------------------------------
Error: VM option 'ShowHiddenFrames' is diagnostic and must be enabled via -XX:+UnlockDiagnosticVMOptions.
Error: The unlock option must precede 'ShowHiddenFrames'.
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
--------------------------------------------------------
- Reproduce
--------------------------------------------------------
Ben="runtime/StackTrace/HiddenFrameTest.java"
make test TEST="${Ben}" CONF=release
--------------------------------------------------------
- Fix
--------------------------------------------------------
diff -r 4364524f8cac 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 11:11:25 2019 +0800
@@ -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;
--------------------------------------------------------
--------------------------------------------------------
Error: VM option 'ShowHiddenFrames' is diagnostic and must be enabled via -XX:+UnlockDiagnosticVMOptions.
Error: The unlock option must precede 'ShowHiddenFrames'.
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
--------------------------------------------------------
- Reproduce
--------------------------------------------------------
Ben="runtime/StackTrace/HiddenFrameTest.java"
make test TEST="${Ben}" CONF=release
--------------------------------------------------------
- Fix
--------------------------------------------------------
diff -r 4364524f8cac 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 11:11:25 2019 +0800
@@ -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;
--------------------------------------------------------
- backported by
-
JDK-8231050 [TESTBUG] runtime/StackTrace/HiddenFrameTest.java fails with release VM
-
- Resolved
-
-
JDK-8235524 [TESTBUG] runtime/StackTrace/HiddenFrameTest.java fails with release VM
-
- Resolved
-
-
JDK-8245794 [TESTBUG] runtime/StackTrace/HiddenFrameTest.java fails with release VM
-
- Resolved
-
- relates to
-
JDK-8216977 ShowHiddenFrames use in java_lang_StackTraceElement::fill_in appears broken
-
- Resolved
-