Swing generification changes in JDK 9 b24

Joe Darcy joe.darcy at oracle.com
Wed Jul 30 17:31:26 UTC 2014


Hi Ben,


On 7/30/2014 8:07 AM, Ben Evans wrote:
> Hi Joe,
>
> Apologies if this has been explained elsewhere, but how does this fit
> with the series of announcements that Swing is officially deprecated
> and JavaFX is where it's at, as we've been hearing for a couple of
> years now? If Swing really is a deprecated API, then why such a large
> and potentially breaking change?
>
> Thanks,
>
> Ben

The general goal here in the warnings cleanup effort was to improve the 
JDK code base as a whole rather than to improve swing in particular. 
Rather than just suppressing the warning, we wanted to instead make a 
good-faith (if belated) effort to generify swing and other parts of the JDK.

There is some on-going maintenance of swing even independent of the 
warnings cleanup:

https://bugs.openjdk.java.net/issues/?jql=project%20%3D%20jdk%20and%20Subcomponent%20%3D%20%22javax.swing%22%20and%20fixVersion%20%20%3D%209%20and%20status%20%3D%20Resolved

Cheers,

-Joe


More information about the jdk9-dev mailing list