<Swing Dev> [11][JDK-6303622]Use generic in Swing components like JComboBox
Kevin Rushforth
kevin.rushforth at oracle.com
Thu Jan 25 16:15:34 UTC 2018
I presume you plan to file a CSR? Have you verified that this change
preserves both binary and source code compatibility?
-- Kevin
Krishna Addepalli wrote:
>
> Hi All,
>
>
>
> Please review a fix for the Enhancement:
>
>
>
> JDK-6303622: https://bugs.openjdk.java.net/browse/JDK-6303622
>
> Webrev: http://cr.openjdk.java.net/~kaddepalli/6303622/webrev00/
> <http://cr.openjdk.java.net/%7Ekaddepalli/6303622/webrev00/>
>
>
>
> The enhancement requests to provide the generic return type for
> getSelectedItem() to avoid ugly casts for the developers using the
> api. Have done changes accordingly for JComboBox and JList, and all
> supporting classes.
>
>
>
> Thanks,
>
> Krishna
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/swing-dev/attachments/20180125/a4fb8a94/attachment.html>
More information about the swing-dev
mailing list