-
Notifications
You must be signed in to change notification settings - Fork 733
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Jdk 23 now broken with Error prone after github updates to newer cut yesterday #4412
Comments
Error Prone will support JDK 23 when it's generally available in September, but I can't guarantee it'll be compatible with early access builds. If you want to include JDK 23 EA in your test matrix I would consider disabling Error Prone when testing in that configuration.
Can you try building those options enabled and sharing the stack trace you're seeing from Error Prone? There are some known issues with Error Prone and the latest JDK 23 EAs due to some changes in internal API Error Prone relies on. There are fixes for those in progress, I'm curious if that's the issue you're seeing or if it's something different:
https://github.com/google/error-prone/actions/runs/9231293447/job/25400938011 |
Not sure as I didn't look deep enough. I've been using jdk 23 ea for months without issue with error prone. It was working on dozens if not more repos yesterday until sometime in the afternoon then jdk 23 started failing in this way. I just wanted to let you guys know they changed something that broken it. I'm just otherwise ignoring for now. The issue affects older copy of error prone (about 2 to 3 months ago) as well as the latest. Since you are aware based on comments there that some things are now broken, I'm ok for now. Main thing was that I wanted to bring awareness. |
Works now. Thanks. |
See hazendaz/fileupload#257, it built fine for jdk 23 yesterday. During same day, the jdk was upgraded for EA on 23. Now all builds are failing with error prone as follows.
The above PR was merged and the merge exhibits the issue. All PRs being created across numerous repos I've seen are all having same issue.
https://github.com/hazendaz/fileupload/actions/runs/9237025003/job/25413522520
Error: [ERROR] error: An unhandled exception was thrown by the Error Prone static analysis plugin.
Error: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.13.0:compile (default-compile) on project fileupload: Compilation failure
Error: [ERROR] error: An unhandled exception was thrown by the Error Prone static analysis plugin.
Error: -> [Help 1]
Error:
Error: To see the full stack trace of the errors, re-run Maven with the -e switch.
Error: Re-run Maven using the -X switch to enable full debug logging.
Error:
Error: For more information about the errors and possible solutions, please read the following articles:
Error: [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
Error: Process completed with exit code 1.
The text was updated successfully, but these errors were encountered: