Skip to content

Commit 7f6811f

Browse files
committed
Update Java baseline to Java 17 [databind#4820]
1 parent 20b4ec1 commit 7f6811f

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,13 @@ on:
44
branches:
55
- master
66
- "3.0"
7-
- "2.19"
87
paths-ignore:
98
- "README.md"
109
- "release-notes/*"
1110
pull_request:
1211
branches:
1312
- master
1413
- "3.0"
15-
- "2.19"
1614
paths-ignore:
1715
- "README.md"
1816
- "release-notes/*"
@@ -22,11 +20,11 @@ permissions:
2220

2321
jobs:
2422
build:
25-
runs-on: 'ubuntu-20.04'
23+
runs-on: 'ubuntu-22.04'
2624
strategy:
2725
fail-fast: false
2826
matrix:
29-
java_version: ['8', '11', '17', '21']
27+
java_version: ['17', '21']
3028
include:
3129
- java_version: '8'
3230
release_build: 'R'

pom.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,12 @@
3333
<url>https://github.com/FasterXML/jackson-modules-java8/issues</url>
3434
</issueManagement>
3535

36+
<properties>
37+
<!-- [databind#4820]: Java 17 baseline -->
38+
<javac.src.version>17</javac.src.version>
39+
<javac.target.version>17</javac.target.version>
40+
</properties>
41+
3642
<!-- NOTE: `dependencyManagement` comes from jackson-bom -->
3743

3844
<dependencies>

release-notes/VERSION

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ due to number of types.
1717

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

0 commit comments

Comments
 (0)