<AWT Dev> [8] Request for review: 7124339 [macosx] setIconImage is not endlessly tolerant to the broken image-arguments

Alexander Scherbatiy alexandr.scherbatiy at oracle.com
Wed Aug 7 06:30:09 PDT 2013

On 8/6/2013 5:15 PM, Sergey Bylokhov wrote:
> Hello,
> Please review the fix for jdk 8.
> After the fix of 6436455 we skip window's incorrect icon on all 
> platforms.
> In this fix we do the same for OSX. See additional info in the bug 
> description
> Input validation was removed, because it is done in the 
> createFromImages()
> Bug: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7124339
> Webrev can be found at: 
> http://cr.openjdk.java.net/~serb/7124339/webrev.00
    Should the fix also check that the malicious 
mage.getWidth(ImageObserver) method does not throw an Error?


More information about the awt-dev mailing list