Skip to content

Commit adc3d0b

Browse files
committed
Merge branch '2.19' into 2.20
2 parents 5551c32 + f64c8b2 commit adc3d0b

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

ion/src/test/java/com/fasterxml/jackson/dataformat/ion/IonNumberOverflowTest.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,9 @@ public void testLongAsBigIntegerSize() throws Exception {
8181
BigInteger bigIntLongValue = new BigInteger(Long.MAX_VALUE + "").subtract(BigInteger.TEN);
8282
IonParser bigIntLongParser = (IonParser) new IonFactory().createParser(bigIntLongValue.toString());
8383
assertEquals(JsonToken.VALUE_NUMBER_INT, bigIntLongParser.nextToken());
84-
assertEquals(JsonParser.NumberType.BIG_INTEGER, bigIntLongParser.getNumberType());
84+
// 23-Oct-2025: Ion 1.11.11+ changed behavior: values that fit in long are now
85+
// classified as LONG (was BIG_INTEGER before)
86+
assertEquals(JsonParser.NumberType.LONG, bigIntLongParser.getNumberType());
8587
assertEquals(JsonParser.NumberTypeFP.UNKNOWN, bigIntLongParser.getNumberTypeFP());
8688
assertEquals(bigIntLongValue.longValue(), bigIntLongParser.getLongValue());
8789
}

release-notes/VERSION-2.x

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ Active maintainers:
4949
(fix by Vincent E)
5050
#616: CBOR text gets truncated on decoding
5151
(reported, fix contributed by Manuel S)
52+
#623: (ion) Upgrade `ion-java` dep to 1.11.11 (from 1.11.10)
53+
(requested by @Shaurya0108)
5254

5355
2.19.2 (18-Jul-2025)
5456

@@ -85,6 +87,11 @@ No changes since 2.19.1
8587
#571: Unable to deserialize a pojo with IonStruct
8688
(reported, fix contributed by Josh C)
8789

90+
2.18.5 (not yet released)
91+
92+
#623: (ion) Upgrade `ion-java` dep to 1.11.11 (from 1.11.10)
93+
(requested by @Shaurya0108)
94+
8895
2.18.4 (06-May-2025)
8996

9097
#569: (ion) `IonParser` fails to parse some `long` values saying

0 commit comments

Comments
 (0)