-
Notifications
You must be signed in to change notification settings - Fork 5.9k
8214248: (fs) Files:mismatch spec clarifications #15350
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
👋 Welcome back bpb! A progress list of the required criteria for merging this PR into |
Webrevs
|
* performed on directories. It is highly implementation specific, however, as | ||
* to whether such operations will succeed. These operations will either work | ||
* or throw an {@code IOException}. </p> | ||
* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure about this wording or section title. I think the point is that a file path can locate any time of file, be it a regular file, directory, sym link, or something else. There is nothing to prevent attempting a file operation on any file but it may be that some operations aren't applicable or supported on some file types. It may be that this part should be a separate issue/PR as it's nothing to do with Files.mismatch.
@bplb This change now passes all automated pre-integration checks. ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details. After integration, the commit message for the final commit will be:
You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed. At the time when this comment was updated there had been 45 new commits pushed to the
As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details. ➡️ To integrate this PR with the above commit message to the |
/integrate |
Going to push as commit 2eae13c.
Your commit was automatically rebased without conflicts. |
Clarify that
Files::mismatch
does not access the file system if both paths locate the same file. Add package documentation about file operations on directories being implementation specific.Progress
Issues
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/15350/head:pull/15350
$ git checkout pull/15350
Update a local copy of the PR:
$ git checkout pull/15350
$ git pull https://git.openjdk.org/jdk.git pull/15350/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 15350
View PR using the GUI difftool:
$ git pr show -t 15350
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/15350.diff
Webrev
Link to Webrev Comment