RFR: 8295753: (fs) UnixPath::toRealPath does not return correct case when links not followed

Brian Burkhalter bpb at openjdk.org
Mon Oct 24 23:08:13 UTC 2022


On macOS, ensure that the components of the `Path` returned by `UnixPath::toRealPath` have the case retained by the file system as opposed to that of the representation present in the `UnixPath` instance.

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

Commit messages:
 - 8295753: (fs) UnixPath::toRealPath does not return correct case when links not followed

Changes: https://git.openjdk.org/jdk/pull/10843/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=10843&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8295753
  Stats: 108 lines in 4 files changed: 93 ins; 2 del; 13 mod
  Patch: https://git.openjdk.org/jdk/pull/10843.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/10843/head:pull/10843

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


More information about the nio-dev mailing list