On Tue, 3 Dec 2024 07:19:43 GMT, Prasanta Sadhukhan <[email protected]> wrote:
> test/jdk/javax/swing/JRadioButton/8033699/bug8033699.java fails in OCI system > citing > > > Radio Button Group Go To Next Component through Tab Key failed > ----------System.err:(30/2118)---------- > java.lang.reflect.InvocationTargetException > at java.desktop/java.awt.EventQueue.invokeAndWait(EventQueue.java:1371) > at java.desktop/java.awt.EventQueue.invokeAndWait(EventQueue.java:1346) > at > java.desktop/javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1480) > at bug8033699.runTest1(bug8033699.java:163) > at bug8033699.main(bug8033699.java:71) > at > java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) > at java.base/java.lang.reflect.Method.invoke(Method.java:573) > at > com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) > at java.base/java.lang.Thread.run(Thread.java:1575) > Caused by: java.lang.RuntimeException: Focus is not on Radio Button Single as > Expected > > > in runTest1, the first subtest which seems to suggest test started before the > frame is visible..Added a standard delay after frame visibility..Also added a > token delay inbetween 8 subtests so that keypress(es) are not coming in one > after other.. > Test passed in CI in several OCI systems.. This pull request has now been integrated. Changeset: 521ed72b Author: Prasanta Sadhukhan <[email protected]> URL: https://git.openjdk.org/jdk/commit/521ed72b87d0fb1def6d94485e08be22632deef0 Stats: 18 lines in 1 file changed: 12 ins; 3 del; 3 mod 8345357: test/jdk/javax/swing/JRadioButton/8033699/bug8033699.java fails in ubuntu22.04 Reviewed-by: abhiscxk ------------- PR: https://git.openjdk.org/jdk/pull/22509
