RFR: 8277949: (dc) java/nio/channels/DatagramChannel/AdaptorBasic.java failed in timeout

Daniel Fuchs dfuchs at openjdk.org
Fri Jun 28 09:29:20 UTC 2024


On Fri, 28 Jun 2024 09:13:43 GMT, Jaikiran Pai <jpai at openjdk.org> wrote:

>> On macOS, when binding a datagram socket to the wildcard address with port 0, or when connecting an unbound socket (which ends up binding the socket to the wildacrd with port 0 first), the system may assign a port which is already used by another socket for a different local address. When that happens, a datagram may get misrouted which explains the intermittent failures where the test is blocked in receive().
>
> The changes look OK to me.

Thank you @jaikiran. Unless I receive further comments I'll integrate shortly.

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

PR Comment: https://git.openjdk.org/jdk/pull/19922#issuecomment-2196495829


More information about the nio-dev mailing list