File tree 3 files changed +4
-6
lines changed
main/java/com/fasterxml/jackson/core/json
test/java/com/fasterxml/jackson/core/read 3 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,8 @@ a pure JSON library.
19
19
#1007 : Improve error message for `StreamReadConstraints ` violations
20
20
#1015 : `JsonFactory ` implementations should respect `CANONICALIZE_FIELD_NAMES `
21
21
(contributed by Carter K )
22
+ #1035 : Root cause for failing test for `testMangledIntsBytes()` in `ParserErrorHandlingTest`
23
+ (reported by @harsha - 99 )
22
24
23
25
2.15 .2 (not yet released )
24
26
Original file line number Diff line number Diff line change @@ -1083,10 +1083,9 @@ protected JsonToken _parseUnsignedNumber(int c) throws IOException
1083
1083
}
1084
1084
_textBuffer .setCurrentLength (outPtr );
1085
1085
// As per [core#105], need separating space between root values; check here
1086
+ _nextByte = c ;
1086
1087
if (_parsingContext .inRoot ()) {
1087
1088
_verifyRootSpace ();
1088
- } else {
1089
- _nextByte = c ;
1090
1089
}
1091
1090
// And there we have it!
1092
1091
return resetInt (false , intLen );
Original file line number Diff line number Diff line change @@ -23,10 +23,7 @@ public void testInvalidKeywordsChars() throws Exception {
23
23
public void testMangledIntsBytes () throws Exception {
24
24
_testMangledNumbersInt (MODE_INPUT_STREAM );
25
25
_testMangledNumbersInt (MODE_INPUT_STREAM_THROTTLED );
26
-
27
- // 02-Jun-2017, tatu: Fails to fail; should check whether this is expected
28
- // (since DataInput can't do look-ahead)
29
- // _testMangledNumbersInt(MODE_DATA_INPUT);
26
+ _testMangledNumbersInt (MODE_DATA_INPUT );
30
27
}
31
28
32
29
public void testMangledFloatsBytes () throws Exception {
You can’t perform that action at this time.
0 commit comments