Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ion/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ tree model)
<dependency>
<groupId>com.amazon.ion</groupId>
<artifactId>ion-java</artifactId>
<version>1.11.10</version>
<version>1.11.11</version>
</dependency>

<!-- Extends Jackson core, databind -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,9 @@ public void testLongAsBigIntegerSize() throws Exception {
BigInteger bigIntLongValue = new BigInteger(Long.MAX_VALUE + "").subtract(BigInteger.TEN);
IonParser bigIntLongParser = (IonParser) new IonFactory().createParser(bigIntLongValue.toString());
assertEquals(JsonToken.VALUE_NUMBER_INT, bigIntLongParser.nextToken());
assertEquals(JsonParser.NumberType.BIG_INTEGER, bigIntLongParser.getNumberType());
// 23-Oct-2025: Ion 1.11.11+ changed behavior: values that fit in long are now
// classified as LONG (was BIG_INTEGER before)
assertEquals(JsonParser.NumberType.LONG, bigIntLongParser.getNumberType());
assertEquals(JsonParser.NumberTypeFP.UNKNOWN, bigIntLongParser.getNumberTypeFP());
assertEquals(bigIntLongValue.longValue(), bigIntLongParser.getLongValue());
}
Expand Down
3 changes: 2 additions & 1 deletion release-notes/VERSION-2.x
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ Active maintainers:

2.21.0 (not yet released)

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

2.20.1 (not yet released)

Expand Down