diff --git a/smile/src/test/java/tools/jackson/dataformat/smile/ParserInternalsTest.java b/smile/src/test/java/tools/jackson/dataformat/smile/ParserInternalsTest.java index b12af0740..e704d3a7f 100644 --- a/smile/src/test/java/tools/jackson/dataformat/smile/ParserInternalsTest.java +++ b/smile/src/test/java/tools/jackson/dataformat/smile/ParserInternalsTest.java @@ -2,6 +2,7 @@ import java.io.InputStream; +import tools.jackson.core.ErrorReportConfiguration; import tools.jackson.core.StreamReadConstraints; import tools.jackson.core.StreamWriteConstraints; import tools.jackson.core.exc.StreamReadException; @@ -78,6 +79,7 @@ private void _verifyVIntBad(byte[] doc, String... msgs) throws Exception private SmileParser _minimalParser(byte[] doc) { IOContext ctxt = new IOContext(StreamReadConstraints.defaults(), StreamWriteConstraints.defaults(), + ErrorReportConfiguration.defaults(), null, ContentReference.rawReference(doc), false, null); return new SmileParser(null, // ObjectReadContext ctxt, // IOContext @@ -90,6 +92,7 @@ private SmileParser _minimalParser(byte[] doc) { private SmileParser _minimalParser(InputStream in) { IOContext ctxt = new IOContext(StreamReadConstraints.defaults(), StreamWriteConstraints.defaults(), + ErrorReportConfiguration.defaults(), null, ContentReference.rawReference(in), false, null); return new SmileParser(null, // ObjectReadContext ctxt, // IOContext diff --git a/smile/src/test/java/tools/jackson/dataformat/smile/SmileFactoryPropertiesTest.java b/smile/src/test/java/tools/jackson/dataformat/smile/SmileFactoryPropertiesTest.java index 5fce1769f..7525e7016 100644 --- a/smile/src/test/java/tools/jackson/dataformat/smile/SmileFactoryPropertiesTest.java +++ b/smile/src/test/java/tools/jackson/dataformat/smile/SmileFactoryPropertiesTest.java @@ -138,6 +138,7 @@ public void testGeneratorConstruction() throws Exception SmileFactory f = new SmileFactory(); IOContext ctxt = new IOContext(StreamReadConstraints.defaults(), StreamWriteConstraints.defaults(), + ErrorReportConfiguration.defaults(), f._getBufferRecycler(), ContentReference.rawReference("doc"), false, null); OutputStream bytes = new ByteArrayOutputStream();