Skip to content

Commit

Permalink
Update Java baseline to Java 17 [databind#4820]
Browse files Browse the repository at this point in the history
  • Loading branch information
cowtowncoder committed Dec 3, 2024
1 parent 8bfbb97 commit c08396a
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,14 +24,14 @@ jobs:
strategy:
fail-fast: false
matrix:
java_version: ['8', '11', '17', '21', '22']
java_version: ['17', '21', '22']
# We will actually need "os" as Matrix to have Windows build
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 @@ -34,6 +34,10 @@
</scm>

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

<!-- Baseline Android SDK compatibility:
* Jackson 3.0 compatible with Android SDK 26 and up
Expand Down
1 change: 1 addition & 0 deletions release-notes/VERSION
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,4 @@ JSON library.
- Rename `JsonGenerator.Feature.AUTO_CLOSE_JSON_CONTENT` as `AUTO_CLOSE_CONTENT`
- Add `TreeCodec.nullNode()`, `TreeNode.isNull()` methods
- Change the way `JsonLocation.NA` is included in exception messages
- Minimum Java baseline: Java 17

0 comments on commit c08396a

Please sign in to comment.