src/jdk.jfr/share/classes/jdk/jfr/consumer/RecordingFile.java
branchJEP-349-branch
changeset 58197 0ef79bd7fb5c
parent 58145 bc54ed8d908a
--- a/src/jdk.jfr/share/classes/jdk/jfr/consumer/RecordingFile.java	Tue Sep 17 19:37:49 2019 +0200
+++ b/src/jdk.jfr/share/classes/jdk/jfr/consumer/RecordingFile.java	Wed Sep 18 03:45:46 2019 +0200
@@ -63,7 +63,7 @@
  */
 public final class RecordingFile implements Closeable {
 
-    boolean isLastEventInChunk;
+    private boolean isLastEventInChunk;
     private final File file;
     private RecordingInput input;
     private ChunkParser chunkParser;
@@ -235,6 +235,12 @@
         return file;
     }
 
+    // package protected
+    boolean isLastEventInChunk() {
+        return isLastEventInChunk;
+    }
+
+
     // either sets next to an event or sets eof to true
     private void findNext() throws IOException {
         while (nextEvent == null) {