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 
> <https://bugs.openjdk.java.net/browse/JDK-8076249>
> Webrev: http://cr.openjdk.java.net/~mcherkas/8076249/9/webrev/ 
> <http://cr.openjdk.java.net/~mcherkas/8076249/9/webrev/>
> 
> Thanks,
> Mikhail. 
> 
> 

Reply via email to