RFR: 8256461: AbstractFileSystemProvider.getSunPathForSocketCall for empty Path returns '.' [v2]
Michael McMahon
michaelm at openjdk.java.net
Tue Nov 17 20:13:20 UTC 2020
On Tue, 17 Nov 2020 17:57:36 GMT, Alan Bateman <alanb at openjdk.org> wrote:
>> Michael McMahon has updated the pull request incrementally with one additional commit since the last revision:
>>
>> update after Alan and Daniel's comments Tues 17th
>
> src/java.base/share/classes/sun/nio/fs/AbstractFileSystemProvider.java line 161:
>
>> 159: * Returns a path name as bytes for a Unix domain socket.
>> 160: * Different encodings may be used for these names on some platforms.
>> 161: * If file is empty, then an empty byte[] is returned.
>
> This should be mis-read as "empty file" when you mean "empty path".
Thanks. Have updated after last two comments.
-------------
PR: https://git.openjdk.java.net/jdk/pull/1258
More information about the nio-dev
mailing list