Skip to content

Conversation

@rschmitt
Copy link
Contributor

The Socket API is considered tightly coupled to Internet Protocol, and socketChannel.socket() is effectively a kind of unchecked downcast which will throw an exception if called on a Unix domain SocketChannel. This change removes some trivial coupling to Socket in preparation for introducing support for JEP 380 Unix domain sockets.

The `Socket` API is considered tightly coupled to Internet Protocol, and
`socketChannel.socket()` is effectively a kind of unchecked downcast
which will throw an exception if called on a Unix domain SocketChannel.
This change removes some trivial coupling to `Socket` in preparation for
introducing support for JEP 380 Unix domain sockets.
@rschmitt rschmitt merged commit 2dcdd25 into apache:master May 23, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants