On Thu, 20 May 2021 16:06:37 GMT, Sergey Bylokhov <s...@openjdk.org> wrote:
>> Are we sure that all possible paths can be pointed by the file object? >> Especially some "Windows Libraries" which are accessed by the shell folder? > > 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. ------------- PR: https://git.openjdk.java.net/jdk/pull/2875