google / google/compile-testing
How to test if code compiles without mandatory warnings?
Open
P3
type=enhancement
- Dominant language
- Java
- Stars
- 722
- Forks
- 129
- Avg merge
- 11m
- Merged PRs (30d)
- 4
Description
I could not find a way to test if compile succeeded without [mandatory warnings](https://docs.oracle.com/javase/8/docs/api/javax/tools/Diagnostic.Kind.html#MANDATORY_WARNING), commonly generated when `-Xlint` options are on.
Is that something that would fit under current `compileWithoutWarnings` behaviour or new api method, or not considered at all in near future?
Contributor guide
Assessment
This issue has not been assessed yet.