<AWT Dev> [9] Review request for 7000965: NPE in sun.awt.X11.XlibWrapper.XGetAtomName on paste
    Alexander Zvegintsev 
    alexander.zvegintsev at oracle.com
       
    Tue Feb 10 19:23:53 UTC 2015
    
    
  
Hi Denis,
I don't think that this fix can help, since XAtom.get(long) doesn't 
return null value[0].
The NPE is thrown from native[1].
[0] 
http://hg.openjdk.java.net/jdk9/client/jdk/file/cf29d39bf0de/src/java.desktop/unix/classes/sun/awt/X11/XAtom.java#l168
[1] 
http://hg.openjdk.java.net/jdk9/client/jdk/file/cf29d39bf0de/src/java.desktop/unix/native/libawt_xawt/xawt/XlibWrapper.c#l1727
--
Thanks,
Alexander.
On 06.02.2015 18:52, Denis Fokin wrote:
> Hi AWT team,
>
> please review a fix
>
> http://cr.openjdk.java.net/~denis/7000965/webrev.00/ 
> <http://cr.openjdk.java.net/%7Edenis/7000965/webrev.00/>
>
> Issue:
> https://bugs.openjdk.java.net/browse/JDK-7000965
>
> -- 
> Thank you,
>     Denis
>
>
    
    
More information about the awt-dev
mailing list