RFR: 8003380 - Compiler warnings in logging test code

Stuart Marks stuart.marks at oracle.com
Sat Nov 17 03:02:14 UTC 2012

On 11/16/12 6:39 PM, Stuart Marks wrote:
> The background is that the words that can be supplied to @SuppressWarnings
> reside in an uncontrolled namespace. The JLS [1] defines only "unchecked" and
> any others are compiler-specific. The set of words accepted here by javac is
> the same as the words defined for -Xlint.
> [1] http://docs.oracle.com/javase/specs/jls/se7/html/jls-9.html#jls-

Whoops, the JLS defines "deprecation" as well (as Alan pointed out in another 
thread the other day). But the rest of the point stands.


More information about the core-libs-dev mailing list