<AWT Dev> [11] JDK-8169187: [macosx] Aqua: java/awt/image/multiresolution/MultiresolutionIconTest.java

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Thu May 10 21:09:58 UTC 2018

Hi, Shashi.

On 10/05/2018 08:40, Shashidhara Veerabhadraiah wrote:
> The test was failing because of the color value mismatches, the fix is 
> to get an image of the part of the window for which color needs to be 
> fetched from the image pixel.

Can you please clarify why r.getPixelColor(x, y) returns incorrect color 
and r.createScreenCapture(bouns{x,y,1,1}) will work, since internally 
both of these methods are use the same method CRobot.getRGBPixels()

Best regards, Sergey.

More information about the awt-dev mailing list