RFR: 8319938: com/sun/java/swing/plaf/gtk/TestFileChooserSingleDirectorySelection.java fails with "getSelectedFiles returned empty array for LAF: javax.swing.plaf.metal.MetalLookAndFeel" [v4]

Abhishek Kumar abhiscxk at openjdk.org
Tue Dec 5 12:17:55 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:

  Review comment fix

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/16674/files
  - new: https://git.openjdk.org/jdk/pull/16674/files/9c74599c..cd69d575

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

  Stats: 108 lines in 1 file changed: 19 ins; 36 del; 53 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