Skip to content

Conversation

@Shaurya0108
Copy link
Contributor

@Shaurya0108 Shaurya0108 commented Oct 23, 2025

Description

Ion v1.11.11 (release notes) changed how values that fit in long are now classified (change in Ion Java), instead of using BIG INTEGER they use LONG. Using a BIG INTEGER was causing test testLongAsBigIntegerSize to fail when the Ion version was changed to v1.11.11 from v1.11.10:

[ERROR] tools.jackson.dataformat.ion.IonNumberOverflowTest.testLongAsBigIntegerSize -- Time elapsed: 0.035 s <<< FAILURE!
org.opentest4j.AssertionFailedError: expected: <BIG_INTEGER> but was: <LONG>

The current version of Ion Java utilizes Jackson-dataformat-ion 2.18.

@Shaurya0108 Shaurya0108 marked this pull request as ready for review October 23, 2025 20:47
@Shaurya0108 Shaurya0108 changed the title Changed testLongAsBigIntegerSize to use LONG instead of BIG INTEGER Changed testLongAsBigIntegerSize to use LONG instead of BIG INTEGER Oct 23, 2025
@Shaurya0108 Shaurya0108 changed the title Changed testLongAsBigIntegerSize to use LONG instead of BIG INTEGER Changed testLongAsBigIntegerSize to use LONG instead of BIG INTEGER Oct 23, 2025
@cowtowncoder cowtowncoder changed the title Changed testLongAsBigIntegerSize to use LONG instead of BIG INTEGER Update ion-java dep to 1.11.1 (from 1.11.10) Oct 23, 2025
@Shaurya0108
Copy link
Contributor Author

@cowtowncoder would a release to 2.18 be possible? We are currently using 2.18.4 at Ion, and will not be able to move to versions 2.19 and greater for a bit.

@cowtowncoder
Copy link
Member

@Shaurya0108 Hmmh. Normally I would say no but... 2.18 is the first LTS version of Jackson and it seems like a small patch upgrade. So perhaps.

In the meantime I think you should be able to just override ion-java version being deployed, given only test changes were needed.

@cowtowncoder cowtowncoder merged commit ba02f63 into FasterXML:3.x Oct 24, 2025
3 checks passed
@cowtowncoder cowtowncoder added this to the 2.18.5 milestone Oct 24, 2025
@cowtowncoder
Copy link
Member

I am thinking of possibly releasing 2.18.5 today, but we will see how timing goes (if I have time to do it).

@Shaurya0108
Copy link
Contributor Author

Thank you for taking the time to do so!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants