<Swing Dev> [9] Review Request: 8175915: NullPointerException from JComboBox and JList when Accessibility enabled
Phil Race
philip.race at oracle.com
Fri May 12 15:46:48 UTC 2017
+1
-phil.
On 05/11/2017 12:31 PM, Sergey Bylokhov wrote:
> 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/20170512/99022abd/attachment.html>
More information about the swing-dev
mailing list