RFR: 8307887: (fs) Files.createSymbolicLink throws less specific exception when in developer mode and file already exists [v3]

Brian Burkhalter bpb at openjdk.org
Mon Jun 5 21:11:56 UTC 2023


> If the second attempt to create the link fails, throw the exception referring to the last error if it is anything other than due to lack of link creation privilege or failure to recognize the flag for unprivileged link creation.

Brian Burkhalter has updated the pull request incrementally with one additional commit since the last revision:

  8307887: Revert test change

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/14255/files
  - new: https://git.openjdk.org/jdk/pull/14255/files/255f5c7f..dacc8f57

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=14255&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=14255&range=01-02

  Stats: 15 lines in 1 file changed: 0 ins; 13 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/14255.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/14255/head:pull/14255

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


More information about the nio-dev mailing list