JDK-8280944 : Enable Unix domain sockets in Windows Selector notification mechanism
  • Type: Sub-task
  • Component: core-libs
  • Sub-Component: java.nio
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2022-01-31
  • Updated: 2022-10-13
  • Resolved: 2022-02-02
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 17 JDK 19
17.0.5Fixed 19 b09Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Relates :  
Description
It may be possible to use UNIX domain sockets for the windows Selector notification mechanism despite the bug indicated in the parent report, since the channel never gets closed.

Observations also show that no data is being lost due to the bug. i.e. even when one of the channels is closed all data is correctly sent and received. It is just the close notification that seems to get lost. That suggests the usage in the selector notification mechanism will not be affected.

Unix domain sockets will otherwise remain disabled in the Windows public Pipe implementation until the windows issue is fixed.
Comments
Fix request (17u): After backporting JDK-8280233, it was suggested to take this one as well. Backport is clean and no regressions spotted (GHA and SAP nigthlies). Risk: Moderate - similar to JDK-8280233.
04-08-2022

A pull request was submitted for review. URL: https://git.openjdk.org/jdk17u-dev/pull/625 Date: 2022-08-02 18:35:40 +0000
02-08-2022

Changeset: 87ab0994 Author: Michael McMahon <michaelm@openjdk.org> Date: 2022-02-02 15:04:59 +0000 URL: https://git.openjdk.java.net/jdk/commit/87ab0994ded3b535a160bb87b6540bd072042c44
02-02-2022

A pull request was submitted for review. URL: https://git.openjdk.java.net/jdk/pull/7302 Date: 2022-02-01 12:33:00 +0000
01-02-2022

Can use private PipeImpl constructor to create Unix domain based pipe for this purpose solely.
31-01-2022