--- old/src/jdk.compiler/share/classes/com/sun/tools/javac/code/Lint.java 2017-10-11 09:55:31.161017403 -0700 +++ new/src/jdk.compiler/share/classes/com/sun/tools/javac/code/Lint.java 2017-10-11 09:55:30.693017386 -0700 @@ -122,6 +122,7 @@ values.add(LintCategory.OPENS); values.add(LintCategory.MODULE); values.add(LintCategory.REMOVAL); + values.add(LintCategory.FUTURE); } // Look for specific overrides @@ -285,6 +286,12 @@ UNCHECKED("unchecked"), /** + * Warn about source structures that may be illegal or + * questionable in future source versions. + */ + FUTURE("future"), + + /** * Warn about potentially unsafe vararg methods */ VARARGS("varargs");