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

Tejesh R tr at openjdk.org
Thu Jul 11 05:46:58 UTC 2024


On Thu, 11 Jul 2024 05:19:05 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:

>> test/jdk/javax/swing/JTabbedPane/bug4666224.java line 52:
>> 
>>> 50: 
>>> 51:     private static final String INSTRUCTIONS = """
>>> 52:                 ON ALL PLATFORMS except macos where pt.6 is not applicable
>> 
>> Instead of mentioning about the exception, I guess you can move it to point 10 and exclude/include from test instructions (Basically string concat) based on OS type?
>
> No, that is in logical sequence of testing steps...we probably can do pt1-5+conditional pt 6+pt7-10 but I think this should be fine as it is mentioned upfront...

Yeah, agree that moving it to last makes it little out of sequence while testing. Do you have any reference of native application in windows where resizing wraps tabbed pane? I checked in command prompt of windows, it doesn't resize either?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/20068#discussion_r1673430717


More information about the client-libs-dev mailing list