[jdk17u-dev] Integrated: 8332901: Select{Current, New}ItemTest.java for Choice don't open popup on macOS

Goetz Lindenmaier goetz at openjdk.org
Thu Oct 31 09:37:35 UTC 2024


On Tue, 29 Oct 2024 10:03:39 GMT, Goetz Lindenmaier <goetz at openjdk.org> wrote:

> I backport this for parity with 17.0.14-oracle

This pull request has now been integrated.

Changeset: 5fe6cf88
Author:    Goetz Lindenmaier <goetz at openjdk.org>
URL:       https://git.openjdk.org/jdk17u-dev/commit/5fe6cf88bafc57f34f59a1cb32a98d6bdb79791f
Stats:     593 lines in 5 files changed: 276 ins; 317 del; 0 mod

8332901: Select{Current,New}ItemTest.java for Choice don't open popup on macOS

Move SelectCurrentItemTest.java to java/awt/Choice/SelectItem/.
Move SelectNewItemTest.java to java/awt/Choice/SelectItem/.
Use latches to control test flow instead of delays.
Encapsulate the common logic in SelectCurrentItemTest.
Provide overridable checkXXX() methods to modify conditions.
Provide an overridable method which defines where to click
in the choice popup to select an item.

Backport-of: ef96a7b014795f366af3a90ef8f474cfb621197f

-------------

PR: https://git.openjdk.org/jdk17u-dev/pull/3013


More information about the jdk-updates-dev mailing list