<Swing Dev> [9] Review Request: 8151857 [TEST_BUG] bug6544309.java fails intermittently

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Tue Mar 15 00:28:49 UTC 2016


Hello,
Please review the small fix for jdk9.

The test javax/swing/JPopupMenu/6544309/bug6544309.java fails if 
executed in a batch via jtreg.

The problem is that this test shows popup menu and expects that some 
specific menuitems will be selected after keyboard navigation. But some 
other test in the javax/swing/JPopupMenu/** moves the mouse to the 
center of the screen, which causes an auto-selection of the menu item on 
osx and wrong final test result. Note that if the test is executed alone 
it is passed most of the time.

Bug: https://bugs.openjdk.java.net/browse/JDK-8151857
Webrev can be found at: http://cr.openjdk.java.net/~serb/8151857/webrev.00

-- 
Best regards, Sergey.



More information about the swing-dev mailing list