8219082: jdk/jfr/event/runtime/TestShutdownEvent.java failed in validateStackTrace()
authormbaesken
Fri, 09 Aug 2019 15:39:32 +0200
changeset 57712 145300cc8ea6
parent 57711 8ebc8f74f2d2
child 57713 0211b062843d
8219082: jdk/jfr/event/runtime/TestShutdownEvent.java failed in validateStackTrace() Reviewed-by: mdoerr, mseledtsov
test/jdk/jdk/jfr/event/runtime/TestShutdownEvent.java
--- a/test/jdk/jdk/jfr/event/runtime/TestShutdownEvent.java	Mon Aug 12 10:49:40 2019 +0200
+++ b/test/jdk/jdk/jfr/event/runtime/TestShutdownEvent.java	Fri Aug 09 15:39:32 2019 +0200
@@ -169,7 +169,10 @@
         @Override
         public void verifyEvents(RecordedEvent event, int exitCode) {
             Events.assertField(event, "reason").equal("VM Error");
-            validateStackTrace(event.getStackTrace());
+            // for now avoid validating the stack trace, in case of compiled code
+            // the vframeStream based solution will not work in this special VMCrash case
+            // see 8219082 for details (running the crashed VM with -Xint would solve the issue too)
+            //validateStackTrace(event.getStackTrace());
         }
     }