Skip to content
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

Fail AutoValueExtensionsException with Error, not Warning #1088

Open
mseele opened this issue May 11, 2021 · 0 comments
Open

Fail AutoValueExtensionsException with Error, not Warning #1088

mseele opened this issue May 11, 2021 · 0 comments
Assignees
Labels
Component: value P3 type=enhancement Make an existing feature better

Comments

@mseele
Copy link

mseele commented May 11, 2021

I've experienced an exception of a AutoValue Extension:

rharter/auto-value-gson#258

It was pretty hard to find the problem because com.google.auto.value.processor.AutoValueProcessor.init(ProcessingEnvironment) only reports a warning via errorReporter().reportWarning instead of an error. Maven did not break the build because it is just a warning and not an error. I would expect that the AutoValue compilation failed when an AutoValueExtension throws an error.

@mseele mseele changed the title Fail AutoValueExtensionsException as Error, not Warning Fail AutoValueExtensionsException with Error, not Warning May 11, 2021
@netdpb netdpb added Component: value P3 type=enhancement Make an existing feature better labels May 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: value P3 type=enhancement Make an existing feature better
Projects
None yet
Development

No branches or pull requests

3 participants