RFR: 8354219 : Automate javax/swing/JComboBox/ComboPopupBug.java [v5]
Anass Baya
abaya at openjdk.org
Wed Apr 23 21:00:08 UTC 2025
> 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.
Anass Baya has updated the pull request incrementally with one additional commit since the last revision:
Use BUTTON1_DOWN_MASK
Co-authored-by: Alexey Ivanov <alexey.ivanov at oracle.com>
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/24624/files
- new: https://git.openjdk.org/jdk/pull/24624/files/7b60535b..ae9eaf10
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=24624&range=04
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=24624&range=03-04
Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod
Patch: https://git.openjdk.org/jdk/pull/24624.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/24624/head:pull/24624
PR: https://git.openjdk.org/jdk/pull/24624
More information about the client-libs-dev
mailing list