From a9ce9f209e2742c7aef8646e5f224b15c210ff21 Mon Sep 17 00:00:00 2001 From: Tatu Saloranta Date: Thu, 23 Oct 2025 15:06:15 -0700 Subject: [PATCH 1/3] Update ion-java from 1.11.10 to 1.11.11 --- ion/pom.xml | 2 +- release-notes/VERSION-2.x | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ion/pom.xml b/ion/pom.xml index c115d1027..60d5e86a9 100644 --- a/ion/pom.xml +++ b/ion/pom.xml @@ -38,7 +38,7 @@ tree model) com.amazon.ion ion-java - 1.11.10 + 1.11.11 diff --git a/release-notes/VERSION-2.x b/release-notes/VERSION-2.x index ad5e2739f..18b8b95bf 100644 --- a/release-notes/VERSION-2.x +++ b/release-notes/VERSION-2.x @@ -16,7 +16,8 @@ Active maintainers: 2.21.0 (not yet released) -No changes since 2.20 +#xxx: (ion) Upgrade `ion-java` dep to 1.11.11 (from 1.11.10) + (requested by @Shaurya0108) 2.20.1 (not yet released) From 147fcf57f3d733f381275a7a8343f2d9afcbf75c Mon Sep 17 00:00:00 2001 From: Tatu Saloranta Date: Thu, 23 Oct 2025 15:07:45 -0700 Subject: [PATCH 2/3] ... --- release-notes/VERSION-2.x | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/release-notes/VERSION-2.x b/release-notes/VERSION-2.x index 18b8b95bf..0571d0354 100644 --- a/release-notes/VERSION-2.x +++ b/release-notes/VERSION-2.x @@ -16,7 +16,7 @@ Active maintainers: 2.21.0 (not yet released) -#xxx: (ion) Upgrade `ion-java` dep to 1.11.11 (from 1.11.10) +#623: (ion) Upgrade `ion-java` dep to 1.11.11 (from 1.11.10) (requested by @Shaurya0108) 2.20.1 (not yet released) From 9742254be9ae7519d35f6fcdc204ba9e55d4e7be Mon Sep 17 00:00:00 2001 From: Tatu Saloranta Date: Thu, 23 Oct 2025 15:11:07 -0700 Subject: [PATCH 3/3] ... --- .../jackson/dataformat/ion/IonNumberOverflowTest.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ion/src/test/java/com/fasterxml/jackson/dataformat/ion/IonNumberOverflowTest.java b/ion/src/test/java/com/fasterxml/jackson/dataformat/ion/IonNumberOverflowTest.java index 361d9cda8..11fc69db4 100644 --- a/ion/src/test/java/com/fasterxml/jackson/dataformat/ion/IonNumberOverflowTest.java +++ b/ion/src/test/java/com/fasterxml/jackson/dataformat/ion/IonNumberOverflowTest.java @@ -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()); }