On Tue, 29 Jun 2021 23:44:04 GMT, Sergey Bylokhov <s...@openjdk.org> wrote:

> If this file is not accessible the "getSystemIcon" should return "null" you 
> can check it here.

If file is not accessible we still return default icon for file or folder - if 
we, for example, looking at the folder in file explorer  with file not readable 
then we should display some icon for it. It will not be icon from the file 
itself - because we can not read it - but it will not be null.

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

PR: https://git.openjdk.java.net/jdk17/pull/178

Reply via email to