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..

Marked as reviewed by abhiscxk (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/22509#pullrequestreview-2477246915

Reply via email to