> 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 three additional commits since the last revision: - Adapt with JAVA code style Co-authored-by: Alexey Ivanov <alexey.iva...@oracle.com> - Make clickComboBox private Co-authored-by: Alexey Ivanov <alexey.iva...@oracle.com> - Reduce indentation. Co-authored-by: Alexey Ivanov <alexey.iva...@oracle.com> ------------- Changes: - all: https://git.openjdk.org/jdk/pull/24624/files - new: https://git.openjdk.org/jdk/pull/24624/files/ae9eaf10..35ad53ca Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=24624&range=05 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=24624&range=04-05 Stats: 6 lines in 1 file changed: 0 ins; 1 del; 5 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