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 authored Dec 4, 2024
1 parent 4c04b70 commit f9db6b8
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 9 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/dep_build_v3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,11 @@ permissions:
jobs:
build:
# Do we want wide matrix build? For now, limited
runs-on: ${{ matrix.os }}
runs-on: 'ubuntu-22.04'
strategy:
fail-fast: false
matrix:
java_version: ['8', '17', '21']
os: ['ubuntu-22.04']
java_version: ['17', '21']
env:
JAVA_OPTS: "-XX:+TieredCompilation -XX:TieredStopAtLevel=1"
steps:
Expand Down
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
6 changes: 5 additions & 1 deletion 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 Expand Up @@ -281,7 +285,7 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>animal-sniffer-maven-plugin</artifactId>
<version>1.22</version>
<version>1.24</version>
<configuration>
<signature>
<groupId>com.toasttab.android</groupId>
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 f9db6b8

Please sign in to comment.