<Swing Dev> [9] Review Request: 8175915: NullPointerException from JComboBox and JList when Accessibility enabled
Sergey Bylokhov
sergey.bylokhov at oracle.com
Thu May 11 19:31:18 UTC 2017
Thanks, Looks fine.
----- mikhail.cherkasov at oracle.com wrote:
>
Hi Sergey,
>
> it's the same problem as in https://bugs.openjdk.java.net/browse/JDK-8076249
>
> AccessBridge trys to request information from obsoleted ActionableAccessibleJListChild, as result getCurrentAccessibleContext return null,
> and ActionableAccessibleJListChild return null for Role.
>
> Thanks,
> Mikhail.
>
>
> On 05.05.2017 22:54, Sergey Bylokhov wrote:
>
> Hi, Mikhail.
Do you check why the role is null? I think that in case of JList it should be "AccessibleRole.LIST", no?
> ----- mikhail.cherkasov at oracle.com wrote:
> >
Hello,
> >
> > Could you please review the very simple fix:
> >
> >
> >
> > Bug: https://bugs.openjdk.java.net/browse/JDK-8175915 Webrev: http://cr.openjdk.java.net/~mcherkas/8175915/webrev/ The problem is that for debug message there's no null check, I added this check.
Thanks,
Mikhail.
> >
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/swing-dev/attachments/20170511/2fb18242/attachment.html>
More information about the swing-dev
mailing list