<AWT Dev> [9] Review request for 8078165: [macosx] NPE when attempting to get image from toolkit

Anton Nashatyrev anton.nashatyrev at oracle.com
Wed Apr 22 19:12:35 UTC 2015

     could you please review the following simple fix:

fix: http://cr.openjdk.java.net/~anashaty/8078165/webrev.00/ 
bug: https://bugs.openjdk.java.net/browse/JDK-8078165

     Problem: on MacOS Toolkit.getImage() throws NPE under some 
circumstances when LWCToolkit.getScaledImageName() returns null.

     Fix: check for null


More information about the awt-dev mailing list