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

Yuri Nesterenko yuri.nesterenko at oracle.com
Tue Mar 15 07:53:49 UTC 2016


Looks fine.
-yan

On 03/15/2016 03:28 AM, Sergey Bylokhov wrote:
> 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
>




More information about the swing-dev mailing list