RFR: 8064922: [macos] Test javax/swing/JTabbedPane/4624207/bug4624207.java fails [v2]

Harshitha Onkar honkar at openjdk.org
Thu Oct 2 21:31:51 UTC 2025


On Fri, 26 Sep 2025 21:13:54 GMT, Damon Nguyen <dnguyen at openjdk.org> wrote:

>> Marked as reviewed by psadhukhan (Reviewer).
>
> @prsadhuk Could you take another look at this?

@DamonGuy 
> When looking into this, it looks like macOS does not support mnemonics. It would therefore make sense to exclude macOS from this test

When I tested menu mnemonics on macOS ScreenMenuBar it works as expected.

May be try @mrserb  suggestion by using `System.setProperty("apple.laf.useScreenMenuBar", "false");` and verify if mnemonics work for embedded frame menu and not for JTabbedPane. If it works for embedded frame menu then should the test be de-problemlisted as it could indicate a product bug or feature not implement yet?

> Have you tried disabling the global menu on macOS and testing the mnemonics when the menu is embedded into the frame? Does it work?

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

PR Comment: https://git.openjdk.org/jdk/pull/27371#issuecomment-3363170436


More information about the client-libs-dev mailing list