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

Brian Burkhalter bpb at openjdk.org
Tue Sep 17 23:42:31 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.

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

Commit messages:
 - 8340329: (fs) Message of NotLinkException thrown by FIles.readSymbolicLink does not include file name (win)

Changes: https://git.openjdk.org/jdk/pull/21047/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=21047&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8340329
  Stats: 52 lines in 2 files changed: 44 ins; 0 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