On Thu, 18 Sep 2025 18:13:43 GMT, Damon Nguyen <[email protected]> wrote:

> When looking into this, it looks like macOS does not support mnemonics. It 
> would therefore make sense to exclude macOS from this test as its main 
> purpose is to test mnemonics on JTabbedPanes. Updated the test header to 
> exclude macOS and test's keyPresses to remove the macOS specific inputs.
> 
> https://discussions.apple.com/thread/7983221?sortBy=rank

test/jdk/javax/swing/JTabbedPane/4624207/bug4624207.java line 96:

> 94:             robot.keyPress(KeyEvent.VK_ALT);
> 95:             robot.keyPress(KeyEvent.VK_B);
> 96:             robot.keyRelease(KeyEvent.VK_ALT);

keyRelease should be other way around...ie VK_B first and then VK_ALT

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

PR Review Comment: https://git.openjdk.org/jdk/pull/27371#discussion_r2361868950

Reply via email to