changeset 3641:af5eb8f3ffd2 jdk-9+135

8161376: Introduce -Xlint:exports Summary: Adding -Xlint:exports, currently not doing anything. Functionality will be added separatelly under JDK-8153362. Reviewed-by: jjg
author jlahoda
date Tue, 06 Sep 2016 12:51:40 +0200
parents 53ebb47dc802
children 39138c7eeb27 589ff4d43428
files src/jdk.compiler/share/classes/com/sun/tools/javac/code/Lint.java src/jdk.compiler/share/classes/com/sun/tools/javac/resources/javac.properties
diffstat 2 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/jdk.compiler/share/classes/com/sun/tools/javac/code/Lint.java	Fri Sep 02 05:43:54 2016 -0700
+++ b/src/jdk.compiler/share/classes/com/sun/tools/javac/code/Lint.java	Tue Sep 06 12:51:40 2016 +0200
@@ -166,6 +166,11 @@
         EMPTY("empty"),
 
         /**
+         * Warn about issues regarding module exports.
+         */
+        EXPORTS("exports"),
+
+        /**
          * Warn about falling through from one case of a switch statement to the next.
          */
         FALLTHROUGH("fallthrough"),
--- a/src/jdk.compiler/share/classes/com/sun/tools/javac/resources/javac.properties	Fri Sep 02 05:43:54 2016 -0700
+++ b/src/jdk.compiler/share/classes/com/sun/tools/javac/resources/javac.properties	Tue Sep 06 12:51:40 2016 +0200
@@ -192,6 +192,9 @@
 javac.opt.Xlint.desc.empty=\
     Warn about empty statement after if.
 
+javac.opt.Xlint.desc.exports=\
+    Warn about issues regarding module exports.
+
 javac.opt.Xlint.desc.fallthrough=\
     Warn about falling through from one case of a switch statement to the next.