Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
8233749: Files.exists javadoc doesn't mention eating IOException
Reviewed-by: lancea, alanb
  • Loading branch information
Brian Burkhalter committed Oct 8, 2021
1 parent ec19907 commit 239a35a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/java.base/share/classes/java/nio/file/Files.java
Expand Up @@ -2514,6 +2514,7 @@ private static boolean followLinks(LinkOption... options) {
* read access to the file.
*
* @see #notExists
* @see FileSystemProvider#checkAccess
*/
public static boolean exists(Path path, LinkOption... options) {
if (options.length == 0) {
Expand Down

1 comment on commit 239a35a

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.