Repository navigation
ci: pin JDK 11 for the Spark and Struts jobs 1.x - #1737
Merged
Merged
Conversation
Both jobs ran on the runner's default JDK. ubuntu-latest moved from
ubuntu-24.04 to ubuntu-26.04, whose default is Java 25, and SpotBugs 4.8.3
cannot read Java 25 class files ("Unsupported class file major version 69"),
so both jobs fail in the core module before any tests run. They now set up
Corretto 11 like the other jobs in this workflow.
With JDK 11 set up, these jobs get past Maven but then stop at the archetype and sample Gradle steps, because the Gradle preinstalled on the runner requires JVM 17 or later. Pin Gradle 8.14 the same way the other JDK 11 jobs in this workflow already do.
bnusunny
approved these changes
Dec 1, 2026
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.
Issue #, if available:
Description of changes:
The Spark and Struts jobs ran on the runner's default JDK.
ubuntu-latestmoved from ubuntu-24.04 to ubuntu-26.04, whose default is Java 25, and SpotBugs 4.8.3 can't read Java 25 class files (Unsupported class file major version 69), so both jobs now fail in the core module before any tests run. This breaks every PR against 1.x, for example #1736.Both jobs now set up Corretto 11 like the other jobs in this workflow. With JDK 11 they get past Maven but stop at the archetype and sample Gradle steps, because the Gradle preinstalled on the runner needs JVM 17 or later, so they also pin Gradle 8.14 the same way the other JDK 11 jobs already do.
Testing
Ran
./gha_build.sh spark true trueand./gha_build.sh struts true truelocally on Corretto 11 with Gradle 8.14: both build and pass.By submitting this pull request