RFR: 4365952: Cannot disable JFileChooser [v4]
Abhishek Kumar
abhiscxk at openjdk.org
Fri Oct 20 07:47:36 UTC 2023
On Fri, 20 Oct 2023 06:48:11 GMT, Tejesh R <tr at openjdk.org> wrote:
>> test/jdk/javax/swing/JFileChooser/FileChooserDisableTest.java line 94:
>>
>>> 92: String currentDirectory = jfc.getCurrentDirectory().toString();
>>> 93: if (!currentDirectory.equals(defaultDirectory)) {
>>> 94: throw new RuntimeException("File chooser disable failed");
>>
>> Better to add the failed LAF name also while throwing exception.
>
> I've added print statement mentioning LAF name at line 72. I hope that would be fine?
I missed that statement.. looks ok.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/16068#discussion_r1366599078
More information about the client-libs-dev
mailing list