Search

Categories

Links

Referers

@SuppressWarnings in Tiger update 6

Aug 18 2005, 03:26:05 PM PDT »Java»Compiler Comments [2]
Mustang javac already supports the @SuppressWarning annotation of JSR 175. However, this support was not ready in time for Tiger. Fortunately, we ship updates to Tiger with regular intervals. Thanks to Jonathan Gibbons, a back port of @SuppressWarnings is in the pipe-line for update 6 (JDK 5.0u6). Good work!
Post a Comment:
Comments are closed for this entry.
Comments:

Excellent! Throw in some constants for well-known warnings as well (e.g. "deprecation").

Posted by Paul Holser on August 25, 2005 at 07:19 AM PDT #

You should coordinate with Eclipse compiler team.

They already support: "Recognized warning token names are: "all", "boxing", "dep-ann", "deprecation", "incomplete-switch", "hiding", "finally", "static-access", "nls", "serial", "synthetic-access", "unqualified-field-access", "unchecked", "unused" and "warningToken"."

Here's a link http://help.eclipse.org/help31/index.jsp?topic=/org.eclipse.jdt.doc.user/whatsNew/jdt_whatsnew.html

Posted by Adam Kiezun on August 28, 2005 at 06:21 AM PDT #

Java is a trademark of Sun Microsystems, Inc.
Copyright © 2006,2007 Peter von der Ahé