<AWT Dev> [11]JDK-8160767 [TEST_BUG] java/awt/Frame/MaximizedToIconified/MaximizedToIconified.java

Prem Balakrishnan prem.balakrishnan at oracle.com
Sat Mar 3 10:54:55 UTC 2018

Hi Semyon,


Yes, I have tested it on macOS, Windows 7, 10 and Ubuntu 16.04, 17.10.





From: Semyon Sadetsky 
Sent: Friday, March 02, 2018 10:32 PM
To: Prem Balakrishnan <prem.balakrishnan at oracle.com>; awt-dev at openjdk.java.net
Subject: Re: <AWT Dev> [11]JDK-8160767 [TEST_BUG] java/awt/Frame/MaximizedToIconified/MaximizedToIconified.java


Hi Prem,

Did you run it on all platforms? There may be an animation when window is iconified or maximized which takes more than 100ms.



On 03/01/2018 11:08 PM, Prem Balakrishnan wrote:

Hi All,


Please Review fix for JDK 11: 


Bug: https://bugs.openjdk.java.net/browse/JDK-8160767 


Webrev: http://cr.openjdk.java.net/~pkbalakr/8160767/webrev.00/


Test fails due to synchronization issue, state changes are validated immediately after calling setExtendedState(). 

Adding delay after setExtendedState() call and validating the state changes solves this issue.




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

More information about the awt-dev mailing list