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

Tejesh R tr at openjdk.org
Mon Oct 10 06:44:57 UTC 2022


On Mon, 10 Oct 2022 06:32:44 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:

>> Tejesh R has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Test case update
>
> 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......?

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

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



More information about the client-libs-dev mailing list