<AWT Dev> RFR: 8225105: java/awt/Focus/ShowFrameCheckForegroundTest/ShowFrameCheckForegroundTest.java fails in Windows 10

Jayathirth D V jayathirth.d.v at oracle.com
Mon Jun 3 05:52:11 UTC 2019


Hi Sergey,

Thanks for the review.
Yes it passes in our windows mach5 machine.
I have checked multiple times with this fix previously also and was trying to resolve this issue for all the platforms under https://bugs.openjdk.java.net/browse/JDK-8028701 . But it was inconclusive.
The present fix under 8225105 stabilizes the test case so that it doesn't fail even in local system, where I was able to reproduce this issue by keeping Cygwin terminal in front of test components.

Thanks,
Jay

-----Original Message-----
From: Sergey Bylokhov 
Sent: Saturday, June 01, 2019 2:27 AM
To: Jayathirth D V; awt-dev at openjdk.java.net
Subject: Re: <AWT Dev> RFR: 8225105: java/awt/Focus/ShowFrameCheckForegroundTest/ShowFrameCheckForegroundTest.java fails in Windows 10

Hi, Jay.
Looks fine, please confirm that this test is green in mach5 after this fix.

On 31/05/2019 01:51, Jayathirth D V wrote:
> Hello All,
> 
> Please review the following fix in JDK 13:
> 
> Bug : https://bugs.openjdk.java.net/browse/JDK-8225105
> 
> Webrev : http://cr.openjdk.java.net/~jdv/8225105/webrev.00/
> 
> Cause : As test hits stage 2, if required component is not present in the foreground it fails. Looks like in slower systems this happens frequently and test fails.
> 
> Solution : Stabilize the test case to add proper wait conditions so that all components are visible as per test requirement.
> 
> Thanks,
> 
> Jay
> 


-- 
Best regards, Sergey.


More information about the awt-dev mailing list