JEP 212: "Resolve Lint and Doclint Warnings" is complete!

Joseph D. Darcy joe.darcy at oracle.com
Tue Jul 14 01:52:25 UTC 2015


Hello,

One of the proposed improvements for development practices made early in 
JDK 9 was the elimination of javac lint and doclint warnings for sources 
in the JDK. [1] This was first proposed [2] and later formally targeted 
to JDK 9 as  JEP 212: Resolve Lint and Doclint Warnings [3].

Amongst other modules in the build, java.base and java.desktop compiled 
cleanly under -Xlint:all as of January 2015. [4] Four out of five 
doclint categories were enabled in March 2015 [5] and, as of this 
morning, the fifth doclint category now also covers those modules too [6].

With that, JEP 212 is complete!

Thanks to all those who contributed fixes and reviews to this effort 
(and its less structured antecedents) over the years,

-Joe

[1] "Proposed source code and regression test suite improvement projects 
for JDK 9,"
http://mail.openjdk.java.net/pipermail/jdk9-dev/2013-December/000141.html

[2] "Draft JEP for discussion: Lint and doclint clean sources,"
http://mail.openjdk.java.net/pipermail/jdk9-dev/2014-May/000781.html

[3] http://openjdk.java.net/jeps/212

[4] "And then there were none: -Xlint:all enabled int the build of JDK 9 
jdk repo",
http://mail.openjdk.java.net/pipermail/jdk9-dev/2015-January/001857.html

[5] "javac doclint checking now enabled in the JDK 9 build,"
http://mail.openjdk.java.net/pipermail/jdk9-dev/2015-March/001985.html

[6] "FYI, coming soon: doclint checking of references,"
http://mail.openjdk.java.net/pipermail/jdk9-dev/2015-July/002416.html


More information about the jdk9-dev mailing list