RFR: 8252971: WindowsFileAttributes does not know about Unix domain sockets [v4]
Michael McMahon
michaelm at openjdk.java.net
Mon Feb 8 22:23:43 UTC 2021
On Mon, 8 Feb 2021 21:59:53 GMT, Michael McMahon <michaelm at openjdk.org> wrote:
>> src/java.base/windows/classes/sun/nio/fs/WindowsPath.java line 862:
>>
>>> 860: * and a handle to the socket file if it is.
>>> 861: */
>>> 862: private long openSocketForReadAttributeAccess() {
>>
>> The methods here throw WindowsException when they fail and might be better to keep it consistent and throw WindowsException rather than returning INVALID_HANDLE_VALUE.
>
> Okay
Actually, there's a mistake in the current latest version (04). Should have tested it before pushing. Will push update shortly.
-------------
PR: https://git.openjdk.java.net/jdk/pull/2424
More information about the nio-dev
mailing list