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

Abhishek Kumar abhiscxk at openjdk.org
Tue Dec 5 19:35:50 UTC 2023


> The test fails for JFileChooser selection mode set to `DIRECTORIES_ONLY`. For `DIRECTORIES_ONLY `mode, there may not be any directories in home directory and due to that test failed. Added the code to create temporary directories and files for the test.
> Tested the current change on the machine it failed for multiple times, no failure observed.
> CI link attached in JBS.

Abhishek Kumar has updated the pull request incrementally with one additional commit since the last revision:

  Copyright year update

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/16674/files
  - new: https://git.openjdk.org/jdk/pull/16674/files/25965f33..ee6d003b

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=16674&range=06
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=16674&range=05-06

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/16674.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/16674/head:pull/16674

PR: https://git.openjdk.org/jdk/pull/16674


More information about the client-libs-dev mailing list