JDK 11 | JDK 17 | JDK 21 | JDK 24 | JDK 25 | JDK 8 |
---|---|---|---|---|---|
11.0.28-oracleFixed | 17.0.16-oracleFixed | 21.0.8-oracleFixed | 24.0.2Fixed | 25 b11Fixed | 8u461Fixed |
Relates :
|
Use a CountDownLatch in javax/swing/AbstractButton/6298940/bug6298940.java instead of delay. The latch provides a direct way to synchronise EDT and main thread, and the test will finish quicker.
|