RFR: 8259014: (so) ServerSocketChannel.bind(UnixDomainSocketAddress)/SocketChannel.bind(UnixDomainSocketAddress) will have unknown user and group owner (win)

Michael McMahon michaelm at openjdk.java.net
Thu Jan 7 19:33:08 UTC 2021


Hi,

Could I get the following fix reviewed please? There is a bug in Windows (2019) relating to the handling of Unix domain socket files such that special file options have to be used when opening the files. This causes problems for Cygwin and the Java file APIs. The bug has been fixed in more recent Windows builds. So, Windows 10 is not affected, but the fix here is to disable support for Unix domain sockets in the affected Windows builds. More recent Windows Server versions are probably not affected either.

Thanks
Michael

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

Commit messages:
 - Test for Windows OS build >= 18362

Changes: https://git.openjdk.java.net/jdk/pull/1986/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=1986&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8259014
  Stats: 16 lines in 1 file changed: 16 ins; 0 del; 0 mod
  Patch: https://git.openjdk.java.net/jdk/pull/1986.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/1986/head:pull/1986

PR: https://git.openjdk.java.net/jdk/pull/1986


More information about the nio-dev mailing list