File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
src/test/java/tools/jackson/databind/convert Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change 12
12
13
13
import tools .jackson .core .JsonParser ;
14
14
import tools .jackson .core .JsonToken ;
15
+ import tools .jackson .core .StreamReadFeature ;
16
+
15
17
import tools .jackson .databind .*;
16
18
import tools .jackson .databind .cfg .CoercionAction ;
17
19
import tools .jackson .databind .cfg .CoercionInputShape ;
@@ -58,6 +60,8 @@ public BooleanWrapper(@JsonProperty("ctor") Boolean foo) {
58
60
59
61
private final ObjectMapper LEGACY_NONCOERCING_MAPPER = jsonMapperBuilder ()
60
62
.disable (MapperFeature .ALLOW_COERCION_OF_SCALARS )
63
+ // 30-May-2025, tatu: Needed after [core#1438] (clear current token on close)
64
+ .disable (StreamReadFeature .CLEAR_CURRENT_TOKEN_ON_CLOSE )
61
65
.build ();
62
66
63
67
private final ObjectMapper MAPPER_INT_TO_EMPTY = jsonMapperBuilder ()
You can’t perform that action at this time.
0 commit comments