RFR(S): JDK-8232092 - Support for Windows drives created using subst
Brian Burkhalter
brian.burkhalter at oracle.com
Fri Aug 14 18:55:46 UTC 2020
> On Aug 14, 2020, at 11:41 AM, Alan Bateman <Alan.Bateman at oracle.com> wrote:
>
>> Webrev: http://cr.openjdk.java.net/~adityam/nhat/subst_drives/0/
>>
> If I recall correctly, the main issues we had with subst was toRealPath and sym links from NTFS volumes. I need to find my notes on this topic as I vaguely remember that fixing it would introduce inconsistencies. No objection to changing WindowsFileStore.create to check for ERROR_INVALID_PARAMETER but I'm not immediately confident that there are other issues lurking. The real we didn't add support originally is that we assumed that it was a legacy mechanism from DOS days.
Yes, the main problem we had was [1]. I have a patch that appears to fix this, but I don’t think that all ramifications have been considered and there is not a sufficient test as of now.
Brian
[1] https://bugs.openjdk.java.net/browse/JDK-8213216
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/nio-dev/attachments/20200814/4cf722d5/attachment.htm>
More information about the nio-dev
mailing list