mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 22:34:27 +02:00
8306431: File.listRoots method description should be re-examined
Reviewed-by: bpb, alanb
This commit is contained in:
parent
5af9d2a0ac
commit
9d64a9d220
2 changed files with 17 additions and 13 deletions
|
@ -178,7 +178,8 @@ public abstract class FileSystem
|
|||
* hierarchies may change during the lifetime of the Java virtual machine.
|
||||
* For example, in some implementations, the insertion of removable media
|
||||
* may result in the creation of a new file hierarchy with its own
|
||||
* top-level directory.
|
||||
* top-level directory. There is no guarantee that a root directory
|
||||
* can be accessed.
|
||||
*
|
||||
* <p> When a security manager is installed, it is invoked to check access
|
||||
* to the each root directory. If denied, the root directory is not returned
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue