RFR: 8293862: javax/swing/JFileChooser/8046391/bug8046391.java failed with 'Cannot invoke "java.awt.Image.getWidth(java.awt.image.ImageObserver)" because "retVal" is null'

Tejesh R tr at openjdk.org
Fri Dec 2 06:52:04 UTC 2022


On Fri, 2 Dec 2022 05:07:40 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:

> JFileChooser uses the FileSystemView API, you can call that directly to make sure that some UI things in JFileChooser do not affect the behavior of the test.

The test only initializes JFileChooser instance, so calling FSV API directly means to explicitly mentioning FSV from test or from JFileChooser...?

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

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



More information about the client-libs-dev mailing list