File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
src/test/java/com/fasterxml/jackson/databind/convert Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change 1212
1313import com .fasterxml .jackson .core .JsonParser ;
1414import com .fasterxml .jackson .core .JsonToken ;
15+ import com .fasterxml .jackson .core .StreamReadFeature ;
1516import com .fasterxml .jackson .databind .*;
1617import com .fasterxml .jackson .databind .cfg .CoercionAction ;
1718import com .fasterxml .jackson .databind .cfg .CoercionInputShape ;
@@ -56,6 +57,8 @@ public BooleanWrapper(@JsonProperty("ctor") Boolean foo) {
5657
5758 private final ObjectMapper LEGACY_NONCOERCING_MAPPER = jsonMapperBuilder ()
5859 .disable (MapperFeature .ALLOW_COERCION_OF_SCALARS )
60+ // 30-May-2025, tatu: Needed after [core#1438] (clear current token on close)
61+ .disable (StreamReadFeature .CLEAR_CURRENT_TOKEN_ON_CLOSE )
5962 .build ();
6063
6164 private final ObjectMapper MAPPER_INT_TO_EMPTY = jsonMapperBuilder ()
You can’t perform that action at this time.
0 commit comments