[jdk21u-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:17:46 UTC 2024


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

> I backport this for parity with 21.0.6-oracle.
> 
> Backport command did not work, but my local patch applied clean.

This pull request has now been integrated.

Changeset: b0b4699c
Author:    Goetz Lindenmaier <goetz at openjdk.org>
URL:       https://git.openjdk.org/jdk21u-dev/commit/b0b4699c71bbf306366c9c6cf1fb7b1806379ab3
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/jdk21u-dev/pull/1105


More information about the jdk-updates-dev mailing list