Skip to content

Commit fc51f8b

Browse files
committed
Merge branch '2.x' into 3.x
2 parents 0517368 + 3656084 commit fc51f8b

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

ion/src/test/java/tools/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
IonParser bigIntLongParser = (IonParser) new IonFactory().createParser(ObjectReadContext.empty(),
8282
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: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ Active maintainers:
1616

1717
2.21.0 (not yet released)
1818

19-
No changes since 2.20
19+
#623: (ion) Upgrade `ion-java` dep to 1.11.11 (from 1.11.10)
20+
(requested by @Shaurya0108)
2021

2122
2.20.1 (not yet released)
2223

0 commit comments

Comments
 (0)