On Tue, 23 Sep 2025 17:44:57 GMT, Damon Nguyen <[email protected]> wrote:

>> Also you may want to check another test `EditableFocusTest` which also sets 
>> mnemonic "B" on a JButton and it passes in macOS..One difference is it uses 
>> setMnemonic(char) instead of setMnemonic(int)
>
> Thanks, I reversed the order of the release.

> Also you may want to check another test `EditableFocusTest` which also sets 
> mnemonic "B" on a JButton and it passes in macOS..One difference is it uses 
> setMnemonic(char) instead of setMnemonic(int)

I see that test's `setMnemonic`. This tabbedPane's API is forced to use 
`setMnemonicAt(int, int)`. I figured, since mnemonics don't seem to be 
supported on macOS anyway, it does not really make sense to ProblemList this 
test for macOS only, and instead just exclude macOS from the test since the 
test fails with the current implementation using `setMnemonicAt`.

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

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

Reply via email to