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 12
12
13
13
import com .fasterxml .jackson .core .JsonParser ;
14
14
import com .fasterxml .jackson .core .JsonToken ;
15
+ import com .fasterxml .jackson .core .StreamReadFeature ;
15
16
import com .fasterxml .jackson .databind .*;
16
17
import com .fasterxml .jackson .databind .cfg .CoercionAction ;
17
18
import com .fasterxml .jackson .databind .cfg .CoercionInputShape ;
@@ -56,6 +57,8 @@ public BooleanWrapper(@JsonProperty("ctor") Boolean foo) {
56
57
57
58
private final ObjectMapper LEGACY_NONCOERCING_MAPPER = jsonMapperBuilder ()
58
59
.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 )
59
62
.build ();
60
63
61
64
private final ObjectMapper MAPPER_INT_TO_EMPTY = jsonMapperBuilder ()
You can’t perform that action at this time.
0 commit comments