<AWT Dev> [11][JDK-8197808] Test java/awt/Dialog/MakeWindowAlwaysOnTop/MakeWindowAlwaysOnTop.java fails on Windows

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Mon Feb 26 22:16:06 UTC 2018


Hi, Krishna.
This test was added to the problemlist, please check that it works on 
other platforms and remove it from the problemlist.

On 25/02/2018 17:53, Krishna Addepalli wrote:
> Hi All,
> 
> Please review a fix for JDK-8197808: 
> https://bugs.openjdk.java.net/browse/JDK-8197808
> 
> Webrev: http://cr.openjdk.java.net/~kaddepalli/8197808/webrev00/
> 
> The problem was that by the time Robot tries to read the color on 
> screen, the compositing of the window is not completed, and hence, 
> instead of reading Blue color, it is reading a combination of Blue and 
> Red colors. Increasing the delay by 100 ms made sure that the 
> composition is complete and the color is being read correctly. Also, 
> this happens only on Windows 10.
> 
> Apart from this, the test was not cleaning up the windows when it throws 
> exception, so fixed that, and also added all explicit imports.
> 
> Thanks,
> 
> Krishna
> 


-- 
Best regards, Sergey.


More information about the awt-dev mailing list