Repository navigation
Correct documented Java requirements per module - #549
Merged
Merged
Conversation
The Error Prone module pins javaVersion 21, Eclipse and AspectJ pin 17, and CI excludes JDK 8 and 11, so the blanket Java 8 claim and the site's JDK 11+ note for Error Prone mislead users.
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.
Why
The docs understate the real Java floors. The Error Prone module pins
javaVersion21, Eclipse and AspectJ pin 17, and CI's matrix excludes JDK 8 and 11 — yet the site says Error Prone needs "JDK 11+" and the README says simply "Java 8 or later".Area
Documentation only — site index and root README.
Changes
src/site/markdown/index.md: Error Prone compiler requirementJDK 11+→JDK 21+.README.md: split the blanket "Java 8 or later" into per-module requirements: 8+ for API/manager/javac/C#, 17+ (and Maven 3.9.6+) for Eclipse/AspectJ, 21+ for Error Prone.Verification
JAVA_HOME=/Library/Java/JavaVirtualMachines/zulu-21.jdk/Contents/Home mvn -B -o spotless:apply— BUILD SUCCESS (11 modules); no reformatting needed.JAVA_HOME=/Library/Java/JavaVirtualMachines/zulu-21.jdk/Contents/Home mvn -B -o spotless:check— BUILD SUCCESS (11 modules).JAVA_HOME=/Library/Java/JavaVirtualMachines/zulu-21.jdk/Contents/Home mvn -B -o test— BUILD SUCCESS; 211 tests (api 18, manager 1, aspectj 1, csharp 19, eclipse 21, javac 150, error-prone 1), 0 failures, 0 errors, 0 skips.No source, POM or workflow changes.