src/jdk.compiler/share/classes/com/sun/tools/javac/code/Lint.java
changeset 49580 62b908c9f0e6
parent 48054 702043a4cdeb
child 55263 830ca7b43b95
--- a/src/jdk.compiler/share/classes/com/sun/tools/javac/code/Lint.java	Thu Apr 12 09:23:34 2018 +0200
+++ b/src/jdk.compiler/share/classes/com/sun/tools/javac/code/Lint.java	Thu Apr 12 13:55:20 2018 +0100
@@ -287,7 +287,12 @@
         /**
          * Warn about potentially unsafe vararg methods
          */
-        VARARGS("varargs");
+        VARARGS("varargs"),
+
+        /**
+         * Warn about use of preview features.
+         */
+        PREVIEW("preview");
 
         LintCategory(String option) {
             this(option, false);