--- a/src/jdk.jfr/share/classes/jdk/jfr/internal/consumer/RecordingInput.java Sat Oct 26 23:59:51 2019 +0200
+++ b/src/jdk.jfr/share/classes/jdk/jfr/internal/consumer/RecordingInput.java Mon Oct 28 17:33:38 2019 +0100
@@ -88,7 +88,7 @@
this.currentBlock.reset();
previousBlock.reset();
if (fileAccess.length(f) < 8) {
- throw new IOException("Not a valid Flight Recorder file. File length is only " + f.length() + " bytes.");
+ throw new IOException("Not a valid Flight Recorder file. File length is only " + fileAccess.length(f) + " bytes.");
}
}