google / google/compile-testing

How to test if code compiles without mandatory warnings?

Open
#97 0 comments 0 reactions 0 assignees View on GitHub
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

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.