Next up: rawtype and unchecked lint warning cleanup
Joe Darcy
joe.darcy at oracle.com
Thu Jun 19 06:03:30 UTC 2014
An update, besides raw types and unchecked warnings, there were two
other lint warning categories remaining in the jdk repo, finally
warnings (for finally clauses that cannot complete normally) and
overrides warnings (for overriding equals without also overriding hashcode).
There were only a few occurrences of these finally and overrides
warnings. The finally warnings have been resolved and enabled in the build:
8044715: Add finally lint warning to build of jdk repository
http://hg.openjdk.java.net/jdk9/dev/jdk/rev/3b602ffe5fe5
The overrides warnings should be next. Progress also has been made on
the raw types and unchecked front; fewer than 2,000 of those warnings
remain.
Cheers,
-Joe
On 4/4/2014 4:33 PM, Joseph Darcy wrote:
> Hello,
>
> With the serial javac lint warnings in the jdk repo resolved [1], the
> largest remaining category of lint warnings are for rawtypes and
> unchecked conversions. Both of these kind of warnings are related to
> incomplete generification and so they need to be addressed together.
>
> At the end of JDK 8, the jdk repo has approximately 4150 raw and
> unchecked warnings; in contrast, the JDK 9 dev jdk repo only has about
> 2800 raw and unchecked warnings.
>
> Clearing those remaining 2800 warnings will be tracked using subtasks of
>
> JDK-8039096 Fix raw and unchecked lint warnings in jdk libraries
> https://bugs.openjdk.java.net/browse/JDK-8039096
>
> Cheers,
>
> -Joe
>
> [1]
> http://mail.openjdk.java.net/pipermail/jdk9-dev/2014-April/000580.html
More information about the jdk9-dev
mailing list