Please review the test only fix for JDK 11.
In windows 10, the "External Drives" or "Removable drives" names are empty when
root directory "Desktop" is selected in JFileChooser. Only the icon is shown
and name is empty.
The system folder names are found by calling
FileSystemView.getSystemDisplayName, which in turn calls
Win32ShellFolderManager2.isFileSystemRoot. Here it was wrongly assumed that a
drive will always be child of "DRIVES" or "MY PC". But in windows 10, the
external drives are also shown as children of root directory "Desktop". Made
changes to consider drives names which are children of "Desktop".
This is a windows 10 specific issues.
You will need an removable drive attached to you system to test this.