Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
I see no reason to hide warnings by default, and setting failOnWarning to true will be useless without also setting showWarnings to true; but you'll actually never know until you actually expect a warning (and build failure) and doesn't see it. Setting failOnWarning preventively without also setting showWarnings thus won't prevent anything; even if you also pass a strict -Xlint:all (because -nowarn has precedence apparently).