[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-2d-dev
Subject:    Re: RFR: 8293862: javax/swing/JFileChooser/8046391/bug8046391.java failed with 'Cannot invoke
From:       Sergey Bylokhov <serb () openjdk ! org>
Date:       2022-12-25 5:33:51
Message-ID: DD5uVC90-DPgmwfJXNEgnLj_wxHGTD7_uKMZBwNLHa8=.6a564a17-23d4-4da8-8381-c882b852aaaa () github ! com
[Download RAW message or body]

On Thu, 22 Dec 2022 05:13:34 GMT, Tejesh R <tr@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.
> 
> Tejesh R has updated the pull request incrementally with one additional commit \
> since the last revision: 
> Updated based on review comments

Did we check how the native code works w/o using JFileChooser, buy FileSystemView, or \
by the native example? Is it possible that it is intermittent because of timing \
related to "com" thread?

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

PR: https://git.openjdk.org/jdk/pull/11104


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic