RFR: 8285094: Test java/awt/Frame/InvisibleOwner/InvisibleOwner.java failing on Linux [v2]

Phil Race prr at openjdk.java.net
Thu Apr 21 15:26:24 UTC 2022


On Thu, 21 Apr 2022 08:45:14 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:

> Maybe a Thread.sleep(1000) is also needed after frame.setVisible(true); and also frame.dispose() as test() is called 4 times so we will give time to setup test after frame is visible and frame is disposed at test completion.

I did not find this to be necessary. As I wrote putting a sleep at the beginning of InvisibleOwner also cures this so I am sure it is just a matter of letting things settle down AFTER the test.

-------------

PR: https://git.openjdk.java.net/jdk/pull/8312



More information about the client-libs-dev mailing list