google / google/auto

Fail AutoValueExtensionsException with Error, not Warning

Open
#1,088 0 comments 0 reactions 1 assignee Claimed by @eamonnmcmanus View on GitHub
Component: value P3 type=enhancement
Dominant language
Java
Stars
10.6k
Forks
1.2k
Avg merge
6h 32m
Merged PRs (30d)
13

Description

I've experienced an exception of a AutoValue Extension:

https://github.com/rharter/auto-value-gson/issues/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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.