RFR: 8283335 : Add exists and readAttributesIfExists methods to FileSystemProvider [v2]

Lance Andersen lancea at openjdk.org
Sun Jun 26 13:36:34 UTC 2022


On Sun, 26 Jun 2022 13:13:35 GMT, Alan Bateman <alanb at openjdk.org> wrote:

> The implementation changes in latest version address my previous points, thanks! I don't the test as it duplicates most of the existing of the TestProvider in this directory and the naming is inconsistent with the existing tests. I expect you should be able to just extent TestProvider and override the two methods to record that they can been called.

I thought about using TestProvider and then talked myself out of it.  So yes, I can do that.  If you have a preferred name other than `TestOverRideFSPMethods` please let me know

-------------

PR: https://git.openjdk.org/jdk/pull/9249


More information about the core-libs-dev mailing list