Skip to content

Commit

Permalink
Fix #4820: Change JDK baseline for Jackson 3.0 from Java 8 to Java 17
Browse files Browse the repository at this point in the history
  • Loading branch information
cowtowncoder committed Dec 3, 2024
1 parent 4c04b70 commit bde5a16
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,13 @@ on:
branches:
- master
- "3.0"
- "2.19"
paths-ignore:
- "README.md"
- "release-notes/*"
pull_request:
branches:
- master
- "3.0"
- "2.19"
paths-ignore:
- "README.md"
- "release-notes/*"
Expand All @@ -26,13 +24,13 @@ jobs:
strategy:
fail-fast: false
matrix:
java_version: ['8', '11', '17', '21', '22']
java_version: ['17', '21', '22']
os: ['ubuntu-22.04']
include:
- java_version: '8'
- java_version: '17'
os: 'ubuntu-22.04'
release_build: 'R'
- java_version: '8'
- java_version: '17'
os: 'windows-latest'
is_windows: 'W'
env:
Expand Down
4 changes: 4 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@
</scm>

<properties>
<!-- [databind#4820]: Java 17 baseline -->
<javac.src.version>17</javac.src.version>
<javac.target.version>17</javac.target.version>

<!-- 12-Nov-2022, tatu: [databind#3659] Verify Android SDK compatibility.
Baseline compatibility:
Expand Down
1 change: 1 addition & 0 deletions release-notes/VERSION
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ Versions: 3.x (for earlier see VERSION-2.x)
#4664: Change `EnumNamingStrategy.convertEnumToExternalName()` to take `MapperConfig` argument-
(contributed by Joo-Hyuk K)
#4818: Rename `AnnotationIntrospector.findDefaultCreator()` as `findPreferredCreator()`
#4820: Change JDK baseline for Jackson 3.0 from Java 8 to Java 17
- Remove `MappingJsonFactory`
- Add context parameter for `TypeSerializer` contextualization (`forProperty()`)
- Default for `JsonNodeFeature.STRIP_TRAILING_BIGDECIMAL_ZEROES` changed to `false` for 3.0

0 comments on commit bde5a16

Please sign in to comment.