Skip to content

Commit a0c853a

Browse files
authored
Change error mesage to mention -INF (#1136)
1 parent 2d137d8 commit a0c853a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/fasterxml/jackson/core/base/ParserBase.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1410,7 +1410,7 @@ protected String _validJsonTokenList() throws IOException {
14101410
@SuppressWarnings("deprecation")
14111411
protected String _validJsonValueList() throws IOException {
14121412
if (isEnabled(Feature.ALLOW_NON_NUMERIC_NUMBERS)) {
1413-
return "(JSON String, Number (or 'NaN'/'INF'/'+INF'), Array, Object or token 'null', 'true' or 'false')";
1413+
return "(JSON String, Number (or 'NaN'/'+INF'/'-INF'), Array, Object or token 'null', 'true' or 'false')";
14141414
}
14151415
return "(JSON String, Number, Array, Object or token 'null', 'true' or 'false')";
14161416
}

0 commit comments

Comments
 (0)