Skip to content

Commit

Permalink
Update Java baseline to Java 17 [databind#4820] (#332)
Browse files Browse the repository at this point in the history
  • Loading branch information
cowtowncoder authored Dec 4, 2024
1 parent 20b4ec1 commit 316427c
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/dep_build_v3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
strategy:
fail-fast: false
matrix:
java_version: ['8', '17', '21']
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 @@ -22,13 +20,13 @@ permissions:

jobs:
build:
runs-on: 'ubuntu-20.04'
runs-on: 'ubuntu-22.04'
strategy:
fail-fast: false
matrix:
java_version: ['8', '11', '17', '21']
java_version: ['17', '21']
include:
- java_version: '8'
- java_version: '17'
release_build: 'R'
env:
JAVA_OPTS: "-XX:+TieredCompilation -XX:TieredStopAtLevel=1"
Expand Down
1 change: 0 additions & 1 deletion datetime/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.0</version>
<inherited>true</inherited>
<configuration>
<source>${javac.src.version}</source>
Expand Down
6 changes: 6 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,12 @@
<url>https://github.com/FasterXML/jackson-modules-java8/issues</url>
</issueManagement>

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

<!-- NOTE: `dependencyManagement` comes from jackson-bom -->

<dependencies>
Expand Down
1 change: 1 addition & 0 deletions release-notes/VERSION
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ due to number of types.

- #68: Parsing of `ZoneId` should respect `ALLOW_COERCION_OF_SCALARS`
wrt empty String
- Minimum Java baseline: Java 17
- Deprecate "paramater names" and "datatypes" modules as functionality
now included directly in `jackson-databind`
- Remove legacy `JSR310Module`
Expand Down

0 comments on commit 316427c

Please sign in to comment.