src/share/classes/com/sun/tools/javac/code/Lint.java

changeset 505
87eb6edd4f21
parent 377
d9febdd5ae21
child 554
9d9f26857129
     1.1 --- a/src/share/classes/com/sun/tools/javac/code/Lint.java	Tue Feb 23 18:43:02 2010 -0800
     1.2 +++ b/src/share/classes/com/sun/tools/javac/code/Lint.java	Thu Feb 25 09:42:35 2010 -0800
     1.3 @@ -198,7 +198,12 @@
     1.4          /**
     1.5           * Warn about Sun proprietary API that may be removed in a future release.
     1.6           */
     1.7 -        SUNAPI("sunapi", true);
     1.8 +        SUNAPI("sunapi", true),
     1.9 +
    1.10 +        /**
    1.11 +         * Warn about issues relating to use of statics
    1.12 +         */
    1.13 +        STATIC("static");
    1.14  
    1.15          LintCategory(String option) {
    1.16              this(option, false);

mercurial