-
Bug
-
Resolution: Duplicate
-
P4
-
7
-
generic
-
generic
The checkAccess method is currently very awkward to use, requiring applications to catch an exception for the case that access is denied, or some other I/O error occurs. Some developers have suggested methods equivalent to File's canXXX methods but they are problematic too because checking access can fail for many reasons.
In addition to re-examining this method, the spec for the exists/notExists method should be changed to not require the implementation use checkAccess.
In addition to re-examining this method, the spec for the exists/notExists method should be changed to not require the implementation use checkAccess.
- duplicates
-
JDK-7006126 (fs) Updates to file system API (1/2011)
- Closed