<AWT Dev> RFR: JDK-8197811: Test java/awt/Choice/PopupPosTest/PopupPosTest.html fails on Windows
Sergey.Bylokhov at oracle.com
Thu Oct 25 04:27:09 UTC 2018
This test was integrated 14 years ago, and this bug was filed 1 year ago. Can you please confirm that this is not regression and the test did not work all this time?
On 24/10/2018 21:04, Krishna Addepalli wrote:
> 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).
Best regards, Sergey.
More information about the awt-dev