Skip to content

Commit cbed925

Browse files
committed
Update BigDecimalParser.java
1 parent 1e98bce commit cbed925

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/fasterxml/jackson/core/io/BigDecimalParser.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ public static BigDecimal parseWithFastParser(final char[] ch, final int off, fin
128128
// workaround https://github.com/FasterXML/jackson-databind/issues/4694
129129
return JavaBigDecimalParser.parseBigDecimal(new String(ch, off, len));
130130
} catch (ArithmeticException | NumberFormatException e) {
131-
throw _parseFailure(e, new String(ch, off, len));
131+
throw _parseFailure(e, ch, off, len);
132132
}
133133
}
134134

0 commit comments

Comments
 (0)