On Thu, 20 May 2021 16:45:35 GMT, Alexander Zuev <kiz...@openjdk.org> wrote:
>> We do not test for that in the regression test but i did tested it manually >> and we do return null for the non-existed files. I tested it on non-windows >> platform too. We still return null. > >> Are we sure that all possible paths can be pointed by the file object? > > We specify that we return the icon for a file. If path can not be resolved in > the file object we can not return the icon for it. So the libraries are not supported? I doubt since JFileChooser should support them, and supports of it is one of the reasons why we use shell folder to iterate the folders and do not use the javaio. ------------- PR: https://git.openjdk.java.net/jdk/pull/2875