<Swing Dev> [jdk17] RFR: 8269269: [macos11] SystemIconTest fails with ClassCastException
Alexander Zuev
kizune at openjdk.java.net
Wed Jun 30 01:16:01 UTC 2021
On Tue, 29 Jun 2021 23:44:04 GMT, Sergey Bylokhov <serb at 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
More information about the swing-dev
mailing list