JDK-8283335 : Add exists and readAttributesIfExists methods to FileSystemProvider
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.nio
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2022-03-17
  • Updated: 2022-07-12
  • Resolved: 2022-07-05
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 20
20 b05Fixed
Related Reports
CSR :  
Relates :  
Relates :  
Description
Enhance the FileSystemProvider abstract class to include the methods

public boolean exists(Path path, LinkOption... options);
public A readAttributesIfExists(Path path, Class type, LinkOption... options);

Comments
Changeset: d48694d0 Author: Lance Andersen <lancea@openjdk.org> Date: 2022-07-05 19:45:08 +0000 URL: https://git.openjdk.org/jdk/commit/d48694d0f3865c1b205acdfa2e6c6d032a39959d
05-07-2022

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/9249 Date: 2022-06-22 19:05:41 +0000
22-06-2022