RFR: 8139228: JFileChooser renders file names as HTML document
Alexey Ivanov
aivanov at openjdk.org
Wed Apr 23 11:25:42 UTC 2025
On Wed, 23 Apr 2025 10:36:13 GMT, Tejesh R <tr at openjdk.org> wrote:
>> That's the point of using a custom `FileSystemView`… not to create the files on the file system but to return the list of files. The files themselves may not exist on the file system at all.
>
> When we are unable to create a folder with special characters in windows OS, why do we need to test it using custom `FileSystemView` ? My point is will any developer do this in windows?
Because the problem is still there, and there are virtual folders on Windows. If a custom `FileSystemView` can return file names with `"<html>"` in their name, `JFileChooser` in Windows Look and Feel will render the file name as HTML.
Isn't it the problem that you're trying to fix?
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/24439#discussion_r2055837348
More information about the client-libs-dev
mailing list