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

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


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.



[1] JEP 211: Elide Deprecation Warnings on Import Statements,

[2] JDK-8066616 Suppress deprecation warnings in jdk libraries,


More information about the jdk9-dev mailing list