> 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: Test update ------------- Changes: - all: https://git.openjdk.org/jdk/pull/16674/files - new: https://git.openjdk.org/jdk/pull/16674/files/f0f4c969..9c74599c Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=16674&range=02 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=16674&range=01-02 Stats: 75 lines in 1 file changed: 37 ins; 33 del; 5 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