8373097: Save command should create missing parent directories#28662
8373097: Save command should create missing parent directories#28662sormuras wants to merge 3 commits intoopenjdk:masterfrom
Conversation
|
👋 Welcome back cstein! A progress list of the required criteria for merging this PR into |
|
@sormuras 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 151 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 |
|
@sormuras Unknown command |
lahodaj
left a comment
There was a problem hiding this comment.
Looks good to me, thanks!
|
/integrate |
|
Going to push as commit e9b4696.
Your commit was automatically rebased without conflicts. |
Please review this change enhancing the
/save <file>command in JShell to create missing parent directories.Prior to this change, when the argument of a
/savecommand starts with a list of directory names, of which at least one does not exist, the command fails with an exception reading:Any exception happening during the creation of missing parent directories (using
Files.createDirectoriesAPI) is caught and transformed into file-related error message.Progress
Issue
Reviewers
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/28662/head:pull/28662$ git checkout pull/28662Update a local copy of the PR:
$ git checkout pull/28662$ git pull https://git.openjdk.org/jdk.git pull/28662/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 28662View PR using the GUI difftool:
$ git pr show -t 28662Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/28662.diff
Using Webrev
Link to Webrev Comment