And then there were none: -Xlint:all enabled int the build of JDK 9 jdk repo
Jonathan Gibbons
jonathan.gibbons at oracle.com
Fri Jan 16 18:45:59 UTC 2015
On 01/15/2015 07:36 PM, joe darcy wrote:
> 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
>
Joe,
This is indeed good news, and shows that if you keep chipping away at
the backlog, you can get to a satisfactory conclusion.
Now that we have achieved this goal, we need to be able to stay there. I
presume that along with -Xlint:all, we also have -Werror, to make fatail
errors from any future lapses.
Also, what is the "score sheet" across the other repos in the forest?
-- Jon
More information about the jdk9-dev
mailing list