<AWT Dev> [9] Fix for JDK-8166980 : JCK testing of Window.setIconImage() leads to VM crash starting approx from JDK9 b134

Ajit Ghaisas ajit.ghaisas at oracle.com
Wed Oct 12 07:10:58 UTC 2016


Hi,

 

Bug :

     https://bugs.openjdk.java.net/browse/JDK-8166980

 

Issue and Fix :    

     Fix for HYPERLINK "https://bugs.openjdk.java.net/browse/JDK-8147648"JDK-8147648 needs to be corrected a little.

     IconInfo::setScaledSize(int width, int height) method sets scaledWidth, scaledHeight and rawLength members of IconInfo class.

     In this method rawLength calculation does not consider passed in width and height - rather it uses class members to calculate the rawLength. This is incorrect.

    The rawLength calculation is corrected as part of this fix.

 

Webrev : 

     http://cr.openjdk.java.net/~aghaisas/8166980/webrev.0/

 

    Request you to review.

 

Regards,

Ajit
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/awt-dev/attachments/20161012/d59eaaf7/attachment.html>


More information about the awt-dev mailing list