Hi All,

 

Please review the test only fix for JDK 11.

 

Bug:

https://bugs.openjdk.java.net/browse/JDK-8191957

 

webrev:

http://cr.openjdk.java.net/~pbansal/8191957/webrev.00/

 

Issue:

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.

Fix:

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".

 

Note:

This is a windows 10 specific issues. 

You will need an removable drive attached to you system to test this.

 

Regards,

Pankaj Bansal

 

Reply via email to