RFR: 8357799: Improve instructions for JFileChooser/HTMLFileName.java [v2]

Alexey Ivanov aivanov at openjdk.org
Tue Jun 3 17:18:00 UTC 2025


On Thu, 29 May 2025 21:27:22 GMT, Harshitha Onkar <honkar at openjdk.org> wrote:

>> Alexey Ivanov has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Correct the title of the test frames
>
> 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 />

Yes, you're right… Aqua L&F doesn't seem to support HTML rendering file pane of `JFileChooser`, and the file name looks empty.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/25455#discussion_r2124461159


More information about the client-libs-dev mailing list