On Thu, 20 May 2021 16:43:05 GMT, Alexander Zuev <kiz...@openjdk.org> wrote:
>> Later we say that this method returns null for non-existed files. is it >> always correct? I am not sure that the file created for the library report >> true for the exists() method; DId we test this usecase? > > 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. ------------- PR: https://git.openjdk.java.net/jdk/pull/2875