RFR: 8340329: (fs) Message of NotLinkException thrown by FIles.readSymbolicLink does not include file name (win) [v2]

Brian Burkhalter bpb at openjdk.org
Wed Sep 18 16:20:25 UTC 2024


> Add the file name of the Path passed to `Files.readSymbolicLink` to the message of the `NotLinkException` thrown when the path is not a reparse point which represents a symbolic link.

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

  8340329: Pass the path into readLinkImpl instead of calling GetFinalPathNameByHandle

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/21047/files
  - new: https://git.openjdk.org/jdk/pull/21047/files/a1b7e2d0..a117766b

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

  Stats: 33 lines in 2 files changed: 2 ins; 23 del; 8 mod
  Patch: https://git.openjdk.org/jdk/pull/21047.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/21047/head:pull/21047

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


More information about the nio-dev mailing list