RFR: 8319938: com/sun/java/swing/plaf/gtk/TestFileChooserSingleDirectorySelection.java fails with "getSelectedFiles returned empty array for LAF: javax.swing.plaf.metal.MetalLookAndFeel"
Abhishek Kumar
abhiscxk at openjdk.org
Wed Nov 15 08:08:59 UTC 2023
The test fails for filechooser 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.
-------------
Commit messages:
- Test fix
- Remove frame dispose
- JTabbedPane arrow direction fix
Changes: https://git.openjdk.org/jdk/pull/16671/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=16671&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8319938
Stats: 152 lines in 3 files changed: 135 ins; 5 del; 12 mod
Patch: https://git.openjdk.org/jdk/pull/16671.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/16671/head:pull/16671
PR: https://git.openjdk.org/jdk/pull/16671
More information about the client-libs-dev
mailing list