checkstyle
checkstyle copied to clipboard
minimum supported JDK version to run Error Prone is JDK 21 as of Error Prone 2.43.0
Expected Behavior
use Error Prone 2.43.0.
related might later on use:
- https://docs.openrewrite.org/recipes/java/migrate/upgradetojava21
- https://github.com/checkstyle/checkstyle/blob/0500cab4436f0b2759f5797800ef3e0073454a69/rewrite.yml#L15
Current Behavior (optional)
No response
Context
- https://github.com/google/error-prone/issues/5365
- https://github.com/gradle/gradle/issues/35768
- https://github.com/diffplug/spotless/issues/2755
We already on jdk21 in CI
when can we apply UpgradeToJava21? Do we need v17 support for longer time? gradle using checkstyle and they still on 8 so its quite a large range.
We are not yet ready for jdk21 syntax. We can start using new syntax after https://github.com/checkstyle/checkstyle/pull/17669 is merged , January 2026 .