> Hi, > > This is a small change to java.net.UnixDomainSocketAddress which specifies > that an address with an empty path can be used to bind a ServerSocketChannel > to a system chosen address. This is equivalent to InetSocketAddress with a > zero valued port field, which requests the system to choose the port number. > The behavior can currently be obtained by passing a null reference to > ServerSocketChannel.bind() but certain use cases need a typed value to > indicate the same information. > > There are some minor related doc changes to ServerSocketChannel. > > Thanks, > Michael. > > --------- > - [x] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai).
Michael McMahon has updated the pull request incrementally with one additional commit since the last revision: Update src/java.base/share/classes/sun/nio/ch/ServerSocketChannelImpl.java Co-authored-by: Volkan Yazıcı <[email protected]> ------------- Changes: - all: https://git.openjdk.org/jdk/pull/33249/files - new: https://git.openjdk.org/jdk/pull/33249/files/c96a8b6f..f7835ac2 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=33249&range=02 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=33249&range=01-02 Stats: 2 lines in 1 file changed: 0 ins; 1 del; 1 mod Patch: https://git.openjdk.org/jdk/pull/33249.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/33249/head:pull/33249 PR: https://git.openjdk.org/jdk/pull/33249
