Skip to content

Commit d4b1919

Browse files
committed
Fix #296: drop Java 6/JDK 1.6 compatibility (now Java 8)
1 parent dfb116b commit d4b1919

File tree

3 files changed

+4
-8
lines changed

3 files changed

+4
-8
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@ jobs:
1818
strategy:
1919
fail-fast: false
2020
matrix:
21-
# Alas, as long as JDK6 is target, cannot run against 14+
22-
java_version: ['8', '11']
21+
java_version: ['8', '17', '21', '24']
2322
env:
2423
JAVA_OPTS: "-XX:+TieredCompilation -XX:TieredStopAtLevel=1"
2524
steps:

pom.xml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,9 @@
4040
<properties>
4141
<!-- 04-Mar-2019, tatu: Retain Java6/JDK1.6 compatibility for annotations for Jackson 2.x,
4242
but use Moditect to get JDK9+ module info support; need newer bundle plugin as well
43+
-->
44+
<!-- 10-Jul-2025, tatu: Time to move on; leave at defaults for Java/JDK 8
4345
-->
44-
<javac.src.version>1.6</javac.src.version>
45-
<javac.target.version>1.6</javac.target.version>
46-
47-
<maven.compiler.source>1.6</maven.compiler.source>
48-
<maven.compiler.target>1.6</maven.compiler.target>
49-
5046
<osgi.export>com.fasterxml.jackson.annotation.*;version=${project.version}</osgi.export>
5147

5248
<!-- for Reproducible Builds -->

release-notes/VERSION-2.x

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ NOTE: Jackson 3.x components rely on 2.x annotations; there are no separate
1717
2.20 (not yet released)
1818

1919
#294: Drop patch number from version for 2.20 and later (no more 2.20.0)
20+
#296: Drop Java 6 compatibility for 2.20 (Java 8 baseline)
2021

2122
2.19.1 (13-Jun-2025)
2223

0 commit comments

Comments
 (0)