<Swing Dev> RfR JDK-8161483 Implement AccessibleAction interface in JList.AccessibleJList.AccessibleJListChild
Alexandr Scherbatiy
alexandr.scherbatiy at oracle.com
Tue Jul 19 08:17:29 UTC 2016
The fix looks good to me.
Thanks,
Alexandr.
On 7/19/2016 5:10 AM, Pete Brunet wrote:
> Please review the following:
>
> Bug: https://bugs.openjdk.java.net/browse/JDK-8161483
> Patch: http://cr.openjdk.java.net/~ptbrunet/JDK-8161483/webrev.00/
>
> This is a followon to the patch for
> JDK-8145207 [macosx] JList, VO can't access non-visible list items
>
> In order to fixJDK-8145207the AccessibleAction interface was needed
> for JList.AccessibleJList.AccessibleJListChild but a backport of this
> fix has been requested and the released public API can not be changed
> in 8u or earlier. The workaround for JDK-8145207 is to create and use
> a private subclass of JList.AccessibleJList.AccessibleJListChild,
> JList.AccessibleJList.ActionableAccessibleJListChild. The downside of
> this fix is that it returns a subclass of the
> JList.AccessibleJList.AccessibleJListChild. If a user overrides the
> class and returns from its code it will not inherit the
> AccessibleAction behavior. For JDK 9 the
> ActionableAccessibleJListChild subclass should be removed and the
> AccessibleAction implementation moved to
> JList.AccessibleJList.AccessibleJListChild.
>
> TiA,
> Pete
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/swing-dev/attachments/20160719/92ff2e6f/attachment.html>
More information about the swing-dev
mailing list