RFR: 8295753: (fs) UnixPath::toRealPath does not return correct case when links not followed [v2]
Brian Burkhalter
bpb at openjdk.org
Mon Oct 31 17:43:21 UTC 2022
On Tue, 25 Oct 2022 15:50:51 GMT, Alan Bateman <alanb at openjdk.org> wrote:
>>> One initial comment on this is that you can't use Files.list in the provider implementation because the default provider can be configured to be something else.
>>
>> Yes, I knew that, but there is no equivalent in the provider. I guess `java.io.File::list` would work.
>
> I think you'll have to change this to use UnixDirectoryStream here, it shouldn't be too hard. We'll also need to study the case check as I suspect that will need macOS specific code.
Resolved (I think) in b6170562187932311597047524647eec66ad006f.
-------------
PR: https://git.openjdk.org/jdk/pull/10843
More information about the nio-dev
mailing list