Skip to content

Commit 85340aa

Browse files
committed
Merge branch '2.14' into 2.15
2 parents 1976c0d + ed846d9 commit 85340aa

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

release-notes/VERSION-2.x

+2
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ JSON library.
5555
padding character
5656
(reported by @Vity01)
5757
#967: Address performance issue with `BigDecimalParser`
58+
#990: Backport removal of BigDecimal to BigInt conversion (#987)
59+
(contributed by @pjfanning)
5860

5961
2.14.2 (28-Jan-2023)
6062

src/test/java/com/fasterxml/jackson/core/io/TestNumberInput.java

+10
Original file line numberDiff line numberDiff line change
@@ -62,5 +62,15 @@ public void testParseBigIntegerFailsWithENotation()
6262
// expected
6363
}
6464
}
65+
66+
public void testParseBigIntegerFailsWithENotation()
67+
{
68+
try {
69+
NumberInput.parseBigInteger("1e10");
70+
fail("expected NumberFormatException");
71+
} catch (NumberFormatException nfe) {
72+
// expected
73+
}
74+
}
6575
}
6676

0 commit comments

Comments
 (0)