<Swing Dev> RFR JDK-8233643 [TESTBUG] JMenu test bug4515762.java fails on macos

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Tue May 5 01:11:50 UTC 2020


Looks fine.

On 5/4/20 12:41 am, Prasanta Sadhukhan wrote:
> Hi All,
> 
> Please review a testbug fix for an issue seen to be failing on macOS nightly testing with the message “Action has not been received”.
> It seems to stem from the fact that the menu/menuitem was not visible at the point when robot keypress event was supposed to trigger an action, so it became a noop.
> 
> The test pass on local macOS system but failed on mach5 in last test sprint. A waitForIdle() is added after every keypress events to ensure appropriate
>   time is given for component to be setup. Also, toFront() is added to ensure the frame is at forefront as it is seen that it takes some time for frame to appear at the foreground although the process is visible from taskbar.
> 
> Updated test is passing on local macOS system and mach5 macOS (as well as in windows/linux) for several iterations
>   (job details in JBS)
> 
> Bug: https://bugs.openjdk.java.net/browse/JDK-8233643
> web rev: http://cr.openjdk.java.net/~psadhukhan/8233643/webrev.0/
> 
> Regards
> Prasanta


-- 
Best regards, Sergey.


More information about the swing-dev mailing list