-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
AutoValue generation broken when used with javax.validation annotations #652
Comments
Can you confirm that it fails with the latest AutoValue (1.6.2) before we investigate? The build.gradle there says 1.5.1. |
@eamonnmcmanus I can confirm. It fails with 1.6.2 and 1.6.1... |
I sent a PR to update to the latest version. It works when invoking Gradle directly. What does it do in Eclipse? |
I can confirm, invoking Gradle directly works fine (also with old AutoValue versions). |
Thanks for attaching the Error Log. The exceptions there show that this is a bug in the Eclipse compiler. I would suggest logging a bug there. |
FYI, eclipse issue https://bugs.eclipse.org/bugs/show_bug.cgi?id=535066. |
Thanks for logging that! Hopefully it will be addressed punctually by the Eclipse team. We've added workarounds to AutoValue for Eclipse bugs before, but I don't see an obvious way we could do it here. |
Autovalue code with javax.validation is failed to be generated within eclipse.
you can test it with following code - https://github.com/jawpio/eclipse-autovalue-fail
Could be connected with following issue #505 .
The text was updated successfully, but these errors were encountered: