<Swing Dev> JDK 9 RFR of JDK-8034169: Fix serial lint warnings in javax.swing
Phil Race
philip.race at oracle.com
Thu Feb 13 18:31:30 UTC 2014
Hello. I think I must reject this change until it is re-submitted
against the client repo.
It is NOT approved by the client team for pushing to dev.
-phil.
On 2/13/2014 12:00 AM, Joe Darcy wrote:
> Hello,
>
> Please review the largely tedious but straightforward fix for
>
> JDK-8034169: Fix serial lint warnings in javax.swing
> http://cr.openjdk.java.net/~darcy/8034169.0/
>
> With the change, all of java.swing and it subclasses compile cleanly
> with the lint warning enabled.
>
> Generally the serial warnings were address by an
> @SuppressWarnings("serial") annotation; the annotation included a
> comment about the justification for the suppressions.
>
> In a small percentage of cases, a serialVersionUID field was added.
> When such a field was added, the serialver computation was checked for
> consistency on JDK6 and JDK 8.
>
> (Note that the javax.swing.text.html.parser.Element type has actually
> different serialVersionUIDs on JDK 6 and 8.)
>
> Thanks,
>
> -Joe
More information about the swing-dev
mailing list