<AWT Dev> [12]RFR: JDK-8197811: Test java/awt/Choice/PopupPosTest/PopupPosTest.html fails on Windows

Krishna Addepalli krishna.addepalli at oracle.com
Thu Oct 25 04:04:06 UTC 2018

Hi All, 


Please review a fix for JDK-8197811: https://bugs.openjdk.java.net/browse/JDK-8197811

Webrev: http://cr.openjdk.java.net/~kaddepalli/8197811/webrev00/


The problem is that, the mouse click happens in the item display area (and not on the arrow button in the right side of the choice). Because of this, the choice comes up and closes immediately, and hence the next mouse move doesnot result in another item being selected, because of which the test fails.

Fix is to click on the arrow button, so that the choice popup stays on, and the subsequent mouse move selects a different item.


Along with the fix, I have removed the applet based code, and also the test now passes on Mac (which was earlier excluded).



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/awt-dev/attachments/20181024/3b3e1118/attachment.html>

More information about the awt-dev mailing list