diff --git a/release-notes/VERSION-2.x b/release-notes/VERSION-2.x index 0c688813c8..91477dc9fa 100644 --- a/release-notes/VERSION-2.x +++ b/release-notes/VERSION-2.x @@ -55,6 +55,8 @@ JSON library. padding character (reported by @Vity01) #967: Address performance issue with `BigDecimalParser` +#990: Backport removal of BigDecimal to BigInt conversion (#987) + (contributed by @pjfanning) 2.14.2 (28-Jan-2023) diff --git a/src/test/java/com/fasterxml/jackson/core/io/TestNumberInput.java b/src/test/java/com/fasterxml/jackson/core/io/TestNumberInput.java index f9242e53bb..3884e7ee06 100644 --- a/src/test/java/com/fasterxml/jackson/core/io/TestNumberInput.java +++ b/src/test/java/com/fasterxml/jackson/core/io/TestNumberInput.java @@ -62,5 +62,15 @@ public void testParseBigIntegerFailsWithENotation() // expected } } + + public void testParseBigIntegerFailsWithENotation() + { + try { + NumberInput.parseBigInteger("1e10"); + fail("expected NumberFormatException"); + } catch (NumberFormatException nfe) { + // expected + } + } }