Skip to content

Commit e85ebd7

Browse files
committed
fix of parse error message
1 parent 5cf4dae commit e85ebd7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/jsoniter/IterImplForStreaming.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,7 @@ static long readLongSlowPath(final JsonIterator iter, long value, final boolean
499499
return negative ? value : -value;
500500
}
501501
if (value < multmin) {
502-
throw iter.reportError("readLongSlowPath", "value is too large for int");
502+
throw iter.reportError("readLongSlowPath", "value is too large for long");
503503
}
504504
value = (value << 3) + (value << 1);
505505
if (value < limit + ind) {

0 commit comments

Comments
 (0)