RFR: 8357799: Improve instructions for JFileChooser/HTMLFileName.java [v2]
Harshitha Onkar
honkar at openjdk.org
Mon Jun 16 21:12:35 UTC 2025
On Mon, 16 Jun 2025 20:40:07 GMT, Alexey Ivanov <aivanov at openjdk.org> wrote:
>> test/jdk/javax/swing/JFileChooser/HTMLFileName.java line 81:
>>
>>> 79: in the navigation combo box above is displayed
>>> 80: as HTML, then press <b>Pass</b>.<br>
>>> 81: If it is in plain text, then press <b>Fail</b>.
>>
>> According to test instructions it states that the file name in the **file pane** and navigation combo box must be displayed as HTML. When I'm testing with system (Aqua) LaF on macOS the file name in file pane appears blank (with the original as well as updated test).
>>
>> <img src="https://github.com/user-attachments/assets/5b78d972-4d2f-41d3-ab6b-c9c4b0a8b767" alt="HTML_Enabled" width=400 height=300 />
>
> @honkar-jdk I added a note about macOS and Aqua L&F to the instructions.
>
> I thought it was a problem in `JTable`, but putting this HTML code in SwingSet2 into a table cell renders HTML.
>
> I guess I should submit a low priority bug to investigate why HTML displays as an empty file name in `JFileChooser` in Aqua Look-and-Feel.
Instructions sounds clearer now. LGTM.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/25455#discussion_r2150894205
More information about the client-libs-dev
mailing list