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

2023-12-05 Thread Alexey Ivanov
On Tue, 5 Dec 2023 18:36:13 GMT, Abhishek Kumar 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

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

2023-12-05 Thread Abhishek Kumar
On Tue, 5 Dec 2023 13:49:44 GMT, Alexey Ivanov 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:

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

2023-12-05 Thread Abhishek Kumar
On Tue, 5 Dec 2023 14:00:33 GMT, Alexey Ivanov 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 directo