RFR: 8345767: javax/swing/JSplitPane/4164779/JSplitPaneKeyboardNavigationTest.java fails in ubuntu22.04

Abhishek Kumar abhiscxk at openjdk.org
Mon Dec 9 06:47:38 UTC 2024


On Mon, 9 Dec 2024 05:31:35 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:

> javax/swing/JSplitPane/4164779/JSplitPaneKeyboardNavigationTest.java fails in ubuntu22.04 citing
> 
> 
> Verifier 1 failed, rightButton2 is not focus owner,F6 doesn't transfer focus to the right/bottom side of the splitpane
> Verifier 2 passed
> Verifier 3 passed
> Verifier 4 passed
> ----------System.err:(11/842)----------
> java.lang.RuntimeException: Test failed, verifiers 1, failed for com.sun.java.swing.plaf.motif.MotifLookAndFeel 
> 
> 
> seems like focus is not transferred in time but is very intermittent...Added stability fixes with waitForIdle, delay and test passed in several OCI systems without issue

test/jdk/javax/swing/JSplitPane/4164779/JSplitPaneKeyboardNavigationTest.java line 1:

> 1: /*

Few changes can be done.

1. Frame title can be added.
2. Calling frame.pack() and frame.setSize() is redundant.
3. Few lines are crossing the column limit. (Including comments)

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

PR Review Comment: https://git.openjdk.org/jdk/pull/22631#discussion_r1875438164


More information about the client-libs-dev mailing list