Integrated: 8354219 : Automate javax/swing/JComboBox/ComboPopupBug.java
Anass Baya
abaya at openjdk.org
Thu May 8 07:34:08 UTC 2025
On Mon, 14 Apr 2025 13:50:54 GMT, Anass Baya <abaya at openjdk.org> wrote:
> This test was designed to manually verify that clicking on the JComboBox when the frame containing it is about to close does not cause an IllegalStateException.
>
> The test allowed the tester extra time to click on the JComboBox when closing the frame by adding a Thread.sleep() in the close button handler.
>
> In this test, a JComboBox is displayed with a Close button at the bottom. The tester should click the Close button, then try to click the JComboBox arrow button to display the popup.
>
> In the automated test, we save the JComboBox location size before closing the frame. We then use this information to click on the JComboBox right before the frame is closed.
This pull request has now been integrated.
Changeset: 223eec55
Author: Anass Baya <abaya at openjdk.org>
Committer: SendaoYan <syan at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/223eec55018f1640cb292b11130e3e1d6451990d
Stats: 72 lines in 1 file changed: 29 ins; 14 del; 29 mod
8354219: Automate javax/swing/JComboBox/ComboPopupBug.java
Reviewed-by: aivanov, achung
-------------
PR: https://git.openjdk.org/jdk/pull/24624
More information about the client-libs-dev
mailing list