git: openjdk/jdk: master: 8348299: Update List/ItemEventTest/ItemEventTest.java

Alexey Ivanov aivanov at openjdk.org
Thu Jan 23 15:21:02 UTC 2025


Changeset: 605b53e4
Branch: master
Author:    Alexey Ivanov <aivanov at openjdk.org>
Date:      2025-01-23 15:18:38 +0000
URL:       https://git.openjdk.org/jdk/commit/605b53e4f8857c58a72fa361f8787c563d6dab90

8348299: Update List/ItemEventTest/ItemEventTest.java

Use thread-safe StringBuffer to track selecting/deselecting items.
Use auto waitForIdle for all events.
Log handleEvent and ItemListener.
Take screenshot of the list on failure;
Optionally take screenshot after each mouse press+release.

Reviewed-by: azvegint, prr, kizune

! test/jdk/java/awt/List/ItemEventTest/ItemEventTest.java



More information about the jdk-changes mailing list