Skip to content

Require Java 17 - #923

Merged
oryan-block merged 2 commits into
masterfrom
feature/java-17
Oct 24, 2026
Merged

oryan-block merged 2 commits into
masterfrom
feature/java-17

Conversation

@oryan-block

Copy link
Copy Markdown
Collaborator

Part of #810

Checklist

  • Pull requests follows the contribution guide
  • New or modified functionality is covered by tests

Description

Jackson 3 needs Java 17, so 15.0.0 drops Java 11. The Jackson 3 port comes in the PR stacked on this one.

  • release and java.version are 17. Kotlin now targets 17 too. It wasn't set before, so the Kotlin classes were built for 1.8 while the Java ones were 11.
  • The java17-tests profile is gone and SchemaClassScannerSealedJavaTypesTest moved in with the other Java tests.
  • The useModulePath=false workaround on default-testCompile is gone (its TODO was for 15.0.0). It was only needed because javac before 16 ignored module descriptors in multi-release jars. The Java tests compile on the module path again.
  • CI builds on 17, 21 and 25. The release and snapshot workflows use 17.

No code changes. mvn clean verify passes on JDK 17 and 25 (421 tests, same as master).

#881 (Kotlin's documented Maven setup) gets simpler after this and can follow.

Release note: Java 17 is the minimum.

Targets Java 17 for javac and Kotlin, which defaulted to 1.8. The Java tests compile on the module path again, and the Java 17 only test moves in with the other Java tests.
@oryan-block oryan-block mentioned this pull request Oct 24, 2026
2 tasks done
@sonarqubecloud

Copy link
Copy Markdown

@oryan-block
oryan-block merged commit 78af59a into master Oct 24, 2026
5 checks passed
@oryan-block
oryan-block deleted the feature/java-17 branch October 24, 2026 02:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant