RFR: 8316274: javax/swing/ButtonGroup/TestButtonGroupFocusTraversal.java fails in Ubuntu 23.10 with Motif LAF [v3]
Alexander Zvegintsev
azvegint at openjdk.org
Wed Oct 29 13:12:41 UTC 2025
> The test began to fail in Ubuntu 23.10. While investigating, I found and filed two new issues:
>
> * https://bugs.openjdk.org/browse/JDK-8370624 JToggleButton does not display caption if setAction is called
> e.g. setAction vs addActionListener
> <img width="287" height="86" alt="image" src="https://github.com/user-attachments/assets/28d24449-e5aa-41fb-a5f1-470ab11d6899" /> vs <img width="287" height="86" alt="image" src="https://github.com/user-attachments/assets/04cdd4ed-6ea4-403c-86c3-f60971d16007" />
> * https://bugs.openjdk.org/browse/JDK-8370627 motif look and feel focus traversal order may vary depending on the system version
>
>
> This test fix changes `setAction` to `addActionListener` and it is to avoid problemlisting the test on Linux.
>
> Testing looks good.
Alexander Zvegintsev has updated the pull request incrementally with one additional commit since the last revision:
review comments
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/27979/files
- new: https://git.openjdk.org/jdk/pull/27979/files/a4680193..5f7b113e
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=27979&range=02
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=27979&range=01-02
Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/27979.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/27979/head:pull/27979
PR: https://git.openjdk.org/jdk/pull/27979
More information about the client-libs-dev
mailing list