<Swing Dev> JDK 9 RFR of 8032627: Add @SuppressWarnings("serial") to appropriate javax.swing classes
Alan Bateman
Alan.Bateman at oracle.com
Fri Jan 24 11:41:43 UTC 2014
On 24/01/2014 06:50, Joe Darcy wrote:
> Hello,
>
> As part of the JDK 9 warnings cleanup, for all the javax.swing classes
> which stated
>
> "Serialized objects of this class will not be compatible with
> future Swing releases. ..."
>
> I've added a @SuppressWarnings("serial") annotation if one was not
> already present:
>
> http://cr.openjdk.java.net/~darcy/8032627.0/
Given the warning in the javadoc then it's surprising that
@SuppressWarnings("serial") wasn't there previously. In any case, the
change looks okay to me. As I don't know this area then I can't of
course say whether there are any others that need this.
-Alan
More information about the swing-dev
mailing list