RFR: 8139228: JFileChooser renders file names as HTML document

Tejesh R tr at openjdk.org
Thu Apr 17 10:57:47 UTC 2025


On Thu, 17 Apr 2025 10:53:17 GMT, Alexey Ivanov <aivanov at openjdk.org> wrote:

>> Making an automated test would be difficult, because the text/html is totally OS and L&F dependant. Example without fix in macos the file name will be empty on filepane and in combobox it shows as HTML text. But it doesn't hold the same for other L&F and in linux.
>
> OS or L&F dependant?
> 
> macOS uses Aqua by default, Linux uses Metal by default. The behaviour in different L&F could be different.
> 
> The test may be customised for a L&F if needed… and it's likely required. I haven't looked into it yet, so I can't suggest anything. Exploring the possibility of making the test automatic is worth the effort.

Dependant on L&F I hope.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/24439#discussion_r2048710599


More information about the client-libs-dev mailing list