<Swing Dev> [9] Review Request: 8076249: NPE in AccessBridge while editing JList model
Phil Race
philip.race at oracle.com
Thu Apr 13 15:31:14 UTC 2017
Minor nit, a wildcard import in the test :-
31 import javax.swing.*;
-phil
On 04/13/2017 06:16 AM, Mikhail Cherkasov wrote:
> Hi Sergey,
>
> Right, a test case can be written without use of JAWS or other screen
> readers.
> Please find a new webrev with the test there:
> http://cr.openjdk.java.net/~mcherkas/8076249/9/webrev.01/
>
> Thanks,
> Mikhail.
>
> On 4/12/2017 9:19 PM, Sergey Bylokhov wrote:
>> Hi, Mikhail.
>> Is it possible to write a test for this issue? I guess it is possible
>> to force NPE even without AccessBridge.
>>> Hello,
>>>
>>> Could you please review the fix for jdk9?
>>>
>>> AccessBridge works in separate thread,so if we modify JList model,
>>> AccessBridge can request information about removed AccessibleJListChild or element
>>> that changed position, so this can lead to NPE.
>>> Almost all methods of AccessibleJListChild has checks for null, exception
>>> those three where I added those checks.
>>>
>>> Bug:https://bugs.openjdk.java.net/browse/JDK-8076249
>>> Webrev:http://cr.openjdk.java.net/~mcherkas/8076249/9/webrev/
>>>
>>> Thanks,
>>> Mikhail.
>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/swing-dev/attachments/20170413/d7d19754/attachment.html>
More information about the swing-dev
mailing list