Skip to content

Commit eca5eb3

Browse files
committed
Fix possible issue wrt FasterXML#181 (although not reproducible on 2.4)
1 parent e01cbd8 commit eca5eb3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/fasterxml/jackson/core/json/ReaderBasedJsonParser.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1047,7 +1047,7 @@ private final JsonToken _parseNumber2(boolean neg, int startPtr) throws IOExcept
10471047
}
10481048
// Also, integer part is not optional
10491049
if (intLen == 0) {
1050-
reportInvalidNumber("Missing integer part (next char "+_getCharDesc(c)+")");
1050+
return _handleInvalidNumberStart(c, neg);
10511051
}
10521052

10531053
int fractLen = 0;

0 commit comments

Comments
 (0)