diff -r d44d6d8493ad -r c44234f680da src/share/classes/com/sun/tools/javac/code/Lint.java --- a/src/share/classes/com/sun/tools/javac/code/Lint.java Mon Nov 29 10:09:48 2010 -0800 +++ b/src/share/classes/com/sun/tools/javac/code/Lint.java Mon Nov 29 14:15:36 2010 -0800 @@ -165,6 +165,11 @@ FINALLY("finally"), /** + * Warn about issues relating to use of command line options + */ + OPTIONS("options"), + + /** * Warn about issues regarding method overrides. */ OVERRIDES("overrides"), @@ -182,39 +187,39 @@ PROCESSING("processing"), /** + * Warn about unchecked operations on raw types. + */ + RAW("rawtypes"), + + /** * Warn about Serializable classes that do not provide a serial version ID. */ SERIAL("serial"), /** + * Warn about issues relating to use of statics + */ + STATIC("static"), + + /** + * Warn about proprietary API that may be removed in a future release. + */ + SUNAPI("sunapi", true), + + /** + * Warn about issues relating to use of try blocks (i.e. try-with-resources) + */ + TRY("try"), + + /** * Warn about unchecked operations on raw types. */ UNCHECKED("unchecked"), /** - * Warn about unchecked operations on raw types. - */ - RAW("rawtypes"), - - /** - * Warn about proprietary API that may be removed in a future release. - */ - SUNAPI("sunapi", true), - - /** - * Warn about issues relating to use of statics - */ - STATIC("static"), - - /** * Warn about potentially unsafe vararg methods */ - VARARGS("varargs"), - - /** - * Warn about issues relating to use of try blocks (i.e. try-with-resources) - */ - TRY("try"); + VARARGS("varargs"); LintCategory(String option) { this(option, false);