RFR: 8319938: TestFileChooserSingleDirectorySelection.java fails with "getSelectedFiles returned empty array" [v4]

Abhishek Kumar abhiscxk at openjdk.org
Tue Dec 5 18:44:44 UTC 2023


On Tue, 5 Dec 2023 13:49:44 GMT, Alexey Ivanov <aivanov at openjdk.org> wrote:

>> Abhishek Kumar has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Review comment fix
>
> test/jdk/com/sun/java/swing/plaf/gtk/TestFileChooserSingleDirectorySelection.java line 217:
> 
>> 215:                     "empty array for LAF: " + laf.getClassName());
>> 216:         }
>> 217:     }
> 
> And you ignored _<q cite="https://github.com/openjdk/jdk/pull/16674#discussion_r1414493186">Be sure to run it on EDT</q>_: `fileChooser.getSelectedFiles()` is to be called on EDT.

I missed here to access `fileChooser.getSelectedFiles()` on EDT.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/16674#discussion_r1416134809


More information about the client-libs-dev mailing list