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

Pavel Rappo prappo at openjdk.org
Thu Nov 3 12:22:03 UTC 2022


On Thu, 3 Nov 2022 01:10:05 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

>> 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.
>
> Brian Burkhalter has updated the pull request incrementally with one additional commit since the last revision:
> 
>   8295753: Clean up UnixPath; rename retentive to preserving

I note in passing that in Java code comments we call macOS all sorts of ways. Given the history of that OS naming, would there be any value in cleaning it up someday? Maybe we could be more consistent at least in java.base.

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

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


More information about the nio-dev mailing list