On Fri, 20 Oct 2023 06:48:11 GMT, Tejesh R <[email protected]> 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

Reply via email to