-
Notifications
You must be signed in to change notification settings - Fork 356
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
Gradle plugin not working with error-prone #1362
Comments
This issue is probably caused by the use of a Java 9 compiler by error-prone. |
Thank you. Well, I definitely agree with @youk on this. JDK9 compatibility is way more important than anything else - the new Java is around the corner and there will be (and already are) lots of people who cannot use the Checker Framework because of that. Thank you for the response and I'm looking forward to your fixing this. :) |
The Checker Framework is now compatible with the Java 9 compiler, but ErrorProne uses an old version of the dataflow.jar. This needs to be shadow before the Checker Framework and ErrorProne can be run together. |
For a reproduction:
https://github.com/boris-petrov/checker-framework-issue
If you run a
gradle build
on this, it fails with:In our project it actually fails with:
But I guess the issue is the same - some incompatibility with
error-prone
. Could it be perhaps as they depend on (and I guess use)javac
from Java 9?P.S. If you comment out line 2 in
build.gradle
in the reproduction, it works fine.The text was updated successfully, but these errors were encountered: