Recording::setEndTime is incorrect JEP-349-branch
authoregahlin
Wed, 23 Oct 2019 23:20:18 +0200
branchJEP-349-branch
changeset 58768 08fef29ad1cf
parent 58767 94d3a7bc8561
child 58769 db30b6219779
Recording::setEndTime is incorrect
src/jdk.jfr/share/classes/jdk/jfr/internal/consumer/AbstractEventStream.java
--- a/src/jdk.jfr/share/classes/jdk/jfr/internal/consumer/AbstractEventStream.java	Wed Oct 23 23:19:27 2019 +0200
+++ b/src/jdk.jfr/share/classes/jdk/jfr/internal/consumer/AbstractEventStream.java	Wed Oct 23 23:20:18 2019 +0200
@@ -37,7 +37,6 @@
 
 import jdk.jfr.consumer.EventStream;
 import jdk.jfr.consumer.RecordedEvent;
-import jdk.jfr.internal.JVM;
 import jdk.jfr.internal.LogLevel;
 import jdk.jfr.internal.LogTag;
 import jdk.jfr.internal.Logger;
@@ -241,6 +240,7 @@
         try {
             process();
         } catch (IOException ioe) {
+            ioe.printStackTrace();
             // This can happen if a chunk file is removed, or
             // a file is access that has been closed
             // This is "normal" behavior for streaming and the