Integrated: 8342524: Use latch in AbstractButton/bug6298940.java instead of delay

Alexey Ivanov aivanov at openjdk.org
Mon Feb 17 13:15:19 UTC 2025


On Fri, 24 Jan 2025 16:47:42 GMT, Alexey Ivanov <aivanov at openjdk.org> wrote:

> Use a `CountDownLatch` in `javax/swing/AbstractButton/bug6298940.java` instead of delay.  
> Use `Util.hitMnemonics` instead of custom code to handle macOS.
> 
> I ran the updated test a few times with `JTREG=REPEAT_COUNT=20`, the test always passed in the CI.

This pull request has now been integrated.

Changeset: 2bd8f026
Author:    Alexey Ivanov <aivanov at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/2bd8f026dbd449e810dc6ce96cd9235e5cb51a9b
Stats:     93 lines in 1 file changed: 93 ins; 0 del; 0 mod

8342524: Use latch in AbstractButton/bug6298940.java instead of delay

Reviewed-by: azvegint, kizune, dnguyen, achung

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

PR: https://git.openjdk.org/jdk/pull/23301


More information about the client-libs-dev mailing list