> 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 test/jdk/java/nio/channels/unixdomain/Bind.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/f7835ac2..098a6cdc Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=33249&range=03 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=33249&range=02-03 Stats: 1 line in 1 file changed: 0 ins; 0 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
