RFR: 6616245: NullPointerException when using JFileChooser with a custom FileView [v4]

Tejesh R tr at openjdk.org
Mon Oct 10 10:01:56 UTC 2022


On Mon, 10 Oct 2022 06:41:24 GMT, Tejesh R <tr at openjdk.org> wrote:

>> test/jdk/javax/swing/JFileChooser/FileViewNPETest.java line 67:
>> 
>>> 65:         //Initialize the components
>>> 66:         final String INSTRUCTIONS = """
>>> 67:                 Instructions to Test:
>> 
>> JFileChooser extends JComponent, probably we can create a frame with embedded JFileChooser and programmatically change the value of that "Look-In ComboBox"-> and catch an exception.
>
> Means in _Test INSTRUCTIONS_ a link to `Look-In` can be attached......?

Or suggesting to make the test automatic......?

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

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



More information about the client-libs-dev mailing list