You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "ppkarwasz (via GitHub)" <gi...@apache.org> on 2026/09/17 16:57:25 UTC
[PR] Roll back Error Prone to `2.42.0`, the last version supporting JDK 17 [logging-parent]
ppkarwasz opened a new pull request, #525:
URL: https://github.com/apache/logging-parent/pull/525
Error Prone `2.43.0` and later are compiled for JDK 21 (class file version 65), so the compiler plugin fails to load with `UnsupportedClassVersionError` on JDK 17. Downstream projects such as Log4j 2 enforce a JDK 17 build, which makes every `logging-parent` release after `12.1.1` unusable for them: #474 bumped Error Prone to `2.49.0` and #519 to `2.50.0`.
- Pins `error-prone.version` to `2.42.0`, the last release compiled for JDK 17, and documents why in the POM.
- Adds a Dependabot `ignore` rule for `com.google.errorprone:error_prone_core` `[2.43,)`, so the version is not bumped again.
- Updates the changelog entry from #519 to the new version.
Tested by installing this branch as `12.1.2-SNAPSHOT` and building Log4j 2.x (`2.x` branch, all modules, `-DskipTests`) against it on JDK 17: Error Prone `2.42.0` loads and reports no new findings.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@logging.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Roll back Error Prone to `2.42.0`, the last version supporting JDK 17 [logging-parent]
Posted by "ramanathan1504 (via GitHub)" <gi...@apache.org>.
ramanathan1504 merged PR #525:
URL: https://github.com/apache/logging-parent/pull/525
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@logging.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org