On Thu, 10 Nov 2022 06:00:27 GMT, Tejesh R <t...@openjdk.org> wrote: > Observation found when _JFileChooser_ is instantiated in _WindowsLookAndFeel_ > which invokes _getSystemIcon()_ from WindowsFileChooserUI class. Could not > find the exact root cause so predicting it to be an issue with icons not > loaded where _resolutionVariants_ map is empty in _public Image > getResolutionVariant(double width, double height) _. Hence proposing a null > check before accessing _getWidth()_. Fix is tested in CI system.
Created separate PR which has the exact observation for a bug - [JDK-8293862] (https://bugs.openjdk.org/browse/JDK-8293862). Closing this PR. ------------- PR: https://git.openjdk.org/jdk/pull/11079