RFR: 8334457: Test javax/swing/JTabbedPane/bug4666224.java fail on macOS with because pressing the ‘C’ key does not switch the layout to WRAP_TAB_LAYOUT

Damon Nguyen dnguyen at openjdk.org
Wed Jul 10 21:57:55 UTC 2024


On Mon, 8 Jul 2024 09:11:57 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:

> This test tests the wrapping policy of JTabbedPane in one of the subinstructions which is not applicable for macos which does not support wrapping or scrolling in tabbed layout.
> It can be seen in "Dictionary" native app amongst others where resizing the windows to smaller size does not wrap the tabbedpane.
> Updated test instruction to highlight the macos-not-applicable point..

I also took a look at the "Dictionary" on MacOS. I'm assuming all of the buttons ('C', 'R', 'B', 'L', 'T') are specific to Java's JTabbedPane since the other buttons don't work for "Dictionary" either. Is that the case?

If so, is it actually the best approach to just exclude 'C' from MacOS in this test?

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

PR Review: https://git.openjdk.org/jdk/pull/20068#pullrequestreview-2170445290


More information about the client-libs-dev mailing list