RFR: 8342524: Use latch in AbstractButton/bug6298940.java instead of delay
Damon Nguyen
dnguyen at openjdk.org
Tue Jan 28 08:32:50 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.
I tested this as well with repeats. Looks good to me. However, I noticed that this test is newly added. Double-checking, is this intentionally open-sourced?
-------------
Marked as reviewed by dnguyen (Committer).
PR Review: https://git.openjdk.org/jdk/pull/23301#pullrequestreview-2577440429
More information about the client-libs-dev
mailing list