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:
parent
7e27dd569e
commit
4814f397b2
@ -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.
|
||||||
*/
|
*/
|
||||||
|
@ -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.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user