Repository navigation
Pin Jackson tree-deserializer delegation behavior - #1366
Merged
Merged
Conversation
Contributor
Author
|
Independent review of Verified
Findings (all low severity)
🤖 Generated with Claude Code |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
SelectiveTreeDeserializerdepends on Jackson implementation classes for tree reads. A Jackson upgrade could compile successfully while changing contextualization, null handling, updates, or type handling for the public mapper factories.Add 26 regression cases comparing
JsonMapperFactoryandYamlMapperFactorywith stock Jackson. Cover declared tree roots, null/empty/absent values, merge identity and contextual overrides, reader features, custom node factories and decimal scales, polymorphic tree properties including a user-supplied native subtype deserializer, exception messages/locations/cause chains, and native scalar/untyped/POJO binding. Explicit expectations retain the intentional selective-decimal policy. Document thejackson-upgradeJUnit tag and dependency-bump checks indoc/jackson-upgrade-checks.md, linked from the README, and an Unreleased changelog entry.Validation with Jackson 3.2.3:
mvn --batch-mode -Dstyle.color=never clean verifypassed on Corretto 17.0.13, 21.0.5, and 25.0.3. Each run reported 10,557 tests, 30 skipped, zero failures/errors; all 26 new cases passed.mvn -Dgroups=jackson-upgrade testpassed on JDK 25. The existing precision suites carry the same tag.Addresses #1363 on master. Completion across supported Jackson lines requires the companion 2.x PR #1367. Remote CI passed for Java 17/21/25 and submit-maven.