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

Alexey Ivanov aivanov at openjdk.org
Tue Dec 5 19:32:41 UTC 2023


On Tue, 5 Dec 2023 18:36:13 GMT, Abhishek Kumar <abhiscxk at openjdk.org> wrote:

> > Is it intentional? It's the problem in [JDK-6972078](https://bugs.openjdk.org/browse/JDK-6972078)… that directories can't be selected.
> 
> Not intentional though. Thought of creating a single folder with the mix of files and directories initially but getting the location of files in `FILES_ONLY` mode was an issue in different LAF. So, created separate folders for `directories` and `files` and tested.

It's fine as long as the original issue is reproducible with directories only too.

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

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


More information about the client-libs-dev mailing list