aws / aws/jsii

Java: Jackson-Dependencies 2.19.0-rc2 causing problems

Open
#4,982 1 comment 0 reactions 0 assignees View on GitHub
bug needs-triage p1
Dominant language
TypeScript
Stars
2.9k
Forks
267
Avg merge
1d 25m
Merged PRs (30d)
14

Description

### Describe the bug

The Java-Version of JSII uses some Jackson dependencies (`jackson-core`, `jackson-databind`, `jackson-annotations`, `jackson-datatype-jsr310`) in version `2.0.19-rc2`. These versions have some bugs which gave us already quite some headache.

### Regression Issue

- [ ] Select this option if this issue appears to be a regression.

### Expected Behavior

Please use stable dependencies in a library as important as this one.

### Current Behavior

Uses version `2.0.19-rc2` of `jackson-core`, `jackson-databind`, `jackson-annotations`, and `jackson-datatype-jsr310`.

### Reproduction Steps

Check with `mvn dependency:tree`

### Possible Solution

Upgrade dependencies `jackson-core`, `jackson-databind`, `jackson-annotations`, and `jackson-datatype-jsr310` to at least version `2.0.19`.

### Additional Information/Context

Sorry for the sloppy bug report, but reproducing the problems we have is not that easy, but I believe it is obvious that you should not use unstable dependencies in production code.

### SDK version used

21

### Environment details (OS name and version, etc.)

MacOS Tahoe 26.1

Contributor guide

Open the contributing guide

Research direction

Start by running `mvn dependency:tree` to identify where the Jackson versions are declared and confirm the four affected dependencies. Done means the Java package resolves stable versions at least `2.0.19` for jackson-core, jackson-databind, jackson-annotations, and jackson-datatype-jsr310.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.