← Back to Pull requests

[SPARK-60799][BUILD] Upgrade Jackson to 2.22.4 #60004

Closed
unknown closed this pull request without merging on Nov 02, 2026 19:57 UTC
View on GitHub
unknown unknown commented on Nov 01, 2026 19:59 UTC
Author

What changes were proposed in this pull request?

This PR aims to upgrade FasterXML Jackson to 2.22.4.

Why are the changes needed?

Jackson 2.22.4 is the latest patch release on the 2.22 line.

  • https://github.com/FasterXML/jackson/wiki/Jackson-Release-2.22.4 (2026-10-17)

  • - Streaming
    - #1683 ReaderBasedJsonParser accepts lone surrogates in \uXXXX escapes in field names
    - #1744 UTF8DataInputJsonParser fails on JSON-escaped surrogate pairs in property names
    - #1750 ALLOW_UNESCAPED_CONTROL_CHARS is ignored for single-quoted string values in UTF-8 byte parsers
    - #1742, #1746, #1756 Non-blocking parser fixes for escaped surrogate pairs, leading decimal point numbers, and multi-byte UTF-8 characters after a backslash escape
    - #1730 FilteringGeneratorDelegate handles embedded objects, typed arrays, and raw/binary values consistently
    - Databind
    - CVE-2026-110879 #6287 Validate type parameters and array element types of type ids
    - #6206 Report a cycle through a @JsonValue accessor as a DatabindException
    - #6227 BeanDescription.findProperties() is not thread-safe on a shared, cached instance
    - #6249 Avoid an NPE when the parser reports VALUE_STRING with null text
    - CBOR
    - CVE-2026-106554 #821 Grow the CBORParser.TagList backing array geometrically

    jackson-annotations stays at 2.22 as referenced by jackson-bom 2.22.4.

    Does this PR introduce _any_ user-facing change?

    No.

    How was this patch tested?

    Pass the CIs.

    Was this patch authored or co-authored using generative AI tooling?

    Generated-by: Claude Sonnet 5.5

    Diff: 290 lines (+217 / -73) across 3 files Reviewer: sarutak Review duration: 1437m
    All Vouch review confidence checks passed
    Residual risk 0.16 = Change Risk (0.40) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.40 · 290 lines diff across 3 files
    0.40
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    60%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.339
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #60004"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 39.9% (MEDIUM) · Higher = larger blast radius
    39.9%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 60.5% · Lower = rushed or shallow review
    60.5%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 15.7% · Safe to merge
    15.7%
    Repository