File.listRoots is decribed below:
The set of available filesystem roots is affected by various system-level operations such as the
insertion or ejection of removable media and the disconnecting or unmounting of physical or
virtual disk drives.
This method returns an array of File objects that denote the root directories of the
available filesystem roots.
The set of available filesystem roots is affected by various system-level operations such as the
insertion or ejection of removable media and the disconnecting or unmounting of physical or
virtual disk drives.
This method returns an array of File objects that denote the root directories of the
available filesystem roots.
- csr for
-
JDK-8309600 File.listRoots method description should be re-examined
- Closed
- relates to
-
JDK-8208077 File.listRoots performance degradation
- Resolved
-
JDK-8182710 File.listRoots() always returns the root of CD drive
- Closed