And then there were none: -Xlint:all enabled int the build of JDK 9 jdk repo

joe darcy joe.darcy at oracle.com
Fri Jan 16 03:36:03 UTC 2015


Hello,

After a small language change to make the effort tractable [1], and 
another round of code cleanup [2], the deprecation warnings have been 
eliminated from the build of the jdk repository of JDK 9 [3].

That means that coming after the previous waves of warnings cleanup, 
*all* the lint warnings are now enabled in the build of the jdk repo!

The effort of clearing all these lint warnings has taken place over many 
months building on the contribution of many people. I'd like to 
especially recognize Stuart Marks and Alan Bateman for early work 
cleaning up the libraries, Jan Lahoda for implementing the supporting 
language change, Jason Uh for help running build jobs, and Phil Race for 
many reviews of changes to client code.

Thanks,

-Joe

[1] JEP 211: Elide Deprecation Warnings on Import Statements, 
http://openjdk.java.net/jeps/211

[2] JDK-8066616 Suppress deprecation warnings in jdk libraries, 
https://bugs.openjdk.java.net/browse/JDK-8066616

[3] http://hg.openjdk.java.net/jdk9/dev/rev/f1dc16345985



More information about the jdk9-dev mailing list