8233749: Files.exists javadoc doesn't mention eating IOException

Reviewed-by: lancea, alanb
This commit is contained in:
Brian Burkhalter 2021-10-08 16:43:16 +00:00
parent ec199072c5
commit 239a35aa91

View file

@ -2514,6 +2514,7 @@ public final class Files {
* read access to the file.
*
* @see #notExists
* @see FileSystemProvider#checkAccess
*/
public static boolean exists(Path path, LinkOption... options) {
if (options.length == 0) {