[jdk24u] Integrated: 8348299: Update List/ItemEventTest/ItemEventTest.java
Alexey Ivanov
aivanov at openjdk.org
Tue Feb 4 19:21:44 UTC 2025
On Fri, 24 Jan 2025 20:24:20 GMT, Alexey Ivanov <aivanov at openjdk.org> wrote:
> Improve the `java/awt/List/ItemEventTest/ItemEventTest.java` test to make it more stable and to provide more diagnostic messages for failure analysis.
>
>> This pull request contains a backport of commit [605b53e4](https://github.com/openjdk/jdk/commit/605b53e4f8857c58a72fa361f8787c563d6dab90) from the [openjdk/jdk](https://git.openjdk.org/jdk) repository.
>>
>> The commit being backported was authored by Alexey Ivanov on 23 Jan 2025 and was reviewed by Alexander Zvegintsev, Phil Race and Alexander Zuev.
This pull request has now been integrated.
Changeset: 7eb2f794
Author: Alexey Ivanov <aivanov at openjdk.org>
URL: https://git.openjdk.org/jdk24u/commit/7eb2f79448d9b10912ab83163cd2b79b0ac6d0b4
Stats: 98 lines in 1 file changed: 44 ins; 8 del; 46 mod
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.
Backport-of: 605b53e4f8857c58a72fa361f8787c563d6dab90
-------------
PR: https://git.openjdk.org/jdk24u/pull/34
More information about the jdk-updates-dev
mailing list