RFR: 8319938: TestFileChooserSingleDirectorySelection.java fails with "getSelectedFiles returned empty array" [v4]
Abhishek Kumar
abhiscxk at openjdk.org
Tue Dec 5 18:38:40 UTC 2023
On Tue, 5 Dec 2023 14:00:33 GMT, Alexey Ivanov <aivanov at openjdk.org> wrote:
> So, `FILES_AND_DIRECTORIES` mode is tested with directories only. Is it intentional? It's the problem in [JDK-6972078](https://bugs.openjdk.org/browse/JDK-6972078)… that directories can't be selected.
Yes, it is tested with directories only.
> 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.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/16674#discussion_r1416127466
More information about the client-libs-dev
mailing list