<AWT Dev> [jdk17] RFR: 8015886: java/awt/Focus/DeiconifiedFrameLoosesFocus/DeiconifiedFrameLoosesFocus.java sometimes failed on ubuntu [v2]

Prasanta Sadhukhan psadhukhan at openjdk.java.net
Fri Jul 23 04:29:08 UTC 2021


On Thu, 22 Jul 2021 22:41:49 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:

>> Alexander Zvegintsev has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   year bump
>
> test/jdk/java/awt/Focus/DeiconifiedFrameLoosesFocus/DeiconifiedFrameLoosesFocus.java line 82:
> 
>> 80: 
>> 81:         Util.waitForIdle(robot);
>> 82:         robot.delay(200);
> 
> I remember some similar issues, so I 'grep" our tests. Looks like usually a bigger delay is used, like 500 or even 1 second.

Normally we use delay of 1 sec after frame.setvisible and 500ms after events. 

Can you also please rectify the wildcard imports? Did you try to give CI job running this test for several iterations in all platforms, if yes, can you post it in JBS?

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

PR: https://git.openjdk.java.net/jdk17/pull/272


More information about the awt-dev mailing list