8161376: Introduce -Xlint:exports

Adding -Xlint:exports, currently not doing anything. Functionality will be added separatelly under JDK-8153362.

Reviewed-by: jjg
This commit is contained in:
Jan Lahoda 2016-09-06 12:51:40 +02:00
parent 7e27dd569e
commit 4814f397b2
2 changed files with 8 additions and 0 deletions

View File

@ -165,6 +165,11 @@ public class Lint
*/ */
EMPTY("empty"), EMPTY("empty"),
/**
* Warn about issues regarding module exports.
*/
EXPORTS("exports"),
/** /**
* Warn about falling through from one case of a switch statement to the next. * Warn about falling through from one case of a switch statement to the next.
*/ */

View File

@ -192,6 +192,9 @@ javac.opt.Xlint.desc.divzero=\
javac.opt.Xlint.desc.empty=\ javac.opt.Xlint.desc.empty=\
Warn about empty statement after if. Warn about empty statement after if.
javac.opt.Xlint.desc.exports=\
Warn about issues regarding module exports.
javac.opt.Xlint.desc.fallthrough=\ javac.opt.Xlint.desc.fallthrough=\
Warn about falling through from one case of a switch statement to the next. Warn about falling through from one case of a switch statement to the next.