<Swing Dev> JDK 9 RFR of JDK-8034169: Fix serial lint warnings in javax.swing
Joe Darcy
joe.darcy at oracle.com
Thu Feb 13 08:00:34 UTC 2014
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