-
Notifications
You must be signed in to change notification settings - Fork 727
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
UnusedMethod
checker crashes on JDK 17
#2926
Comments
At first glance, looks like these should use error-prone/core/src/main/java/com/google/errorprone/bugpatterns/UnusedMethod.java Lines 356 to 361 in 9e4ca5e
|
I think this was a regression in 5e6691c, and I guess we aren't running tests that exercise that line on 17 |
The tests on GitHub run the whole build with the same JDK, so this line will correctly be compiled against the |
Guys, can the fix be released? |
Yesterday I received the Dependabot PR for ErrorProne 2.11.0 on Mockito (mockito/mockito#2553) and I have been working on integrating the change. Besides some small breaking changes, everything appears to work fine on JDK 11, but it fails on JDK 17 with the following exception:
The text was updated successfully, but these errors were encountered: