Bump the base Java version to 17 (resolves #389)#501
Open
vasiliy-mikhailov wants to merge 1 commit into
Open
Conversation
java.version 1.8 -> 17 (compiler source/target + Kotlin jvmTarget); CI matrix [8.x,11.x,17.x,21.x] -> [17.x,21.x] and the coverage/javadoc/snapshot/release gates move from the JDK-8 build to JDK-17. mvn test green on JDK 11 and 17 (2104/2104, = JDK-8 baseline). Resolves making#389.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Resolves #389 (prerequisite for #388 and #390; also resolves #160).
Changes
pom.xml:java.version1.8→17— drives the compilersource/targetand the KotlinjvmTarget..github/workflows/ci.yaml: CI matrix[8.x, 11.x, 17.x, 21.x]→[17.x, 21.x](the 8.x/11.x axes can no longer compile Java-17 source), and the coverage / javadoc / snapshot / release gates move from the JDK-8 build to the JDK-17 build so published artifacts ship Java-17 bytecode.Verification
Migrated one LTS step at a time and ran
mvn testat each hop:Identical to the JDK-8 baseline (2104 / 2104). No source changes and no dependency bumps were needed — pure Java, no
--add-opens/ EE / Lombok walls, andspring-javaformatvalidates cleanly on 17.🤖 Migrated with the bump-java-version skill.