diff --git a/java/org/jlab/coda/jevio/test/FileTestVer6.java b/java/org/jlab/coda/jevio/test/FileTestVer6.java index 693c7b79..0a5e6064 100644 --- a/java/org/jlab/coda/jevio/test/FileTestVer6.java +++ b/java/org/jlab/coda/jevio/test/FileTestVer6.java @@ -655,7 +655,7 @@ public static void main(String args[]) { } } else { - ByteBuffer record = Writer.createRecord(dictionary, efArray, writer.getByteOrder(), null, null); + ByteBuffer record = Writer.createRecord(dictionary, efArray, efArray.length, writer.getByteOrder(), null, null); for (int i = 0; i < 6; i++) { // Top level event