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

Daniel Fuchs dfuchs at openjdk.org
Fri Jun 28 11:06:31 UTC 2024


On Thu, 27 Jun 2024 06:44:30 GMT, Daniel Fuchs <dfuchs 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().

This pull request has now been integrated.

Changeset: 8ec378a6
Author:    Daniel Fuchs <dfuchs at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/8ec378a6c8a460dd0727df800419b3cf45d3c57a
Stats:     61 lines in 2 files changed: 51 ins; 0 del; 10 mod

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

Reviewed-by: jpai

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

PR: https://git.openjdk.org/jdk/pull/19922


More information about the nio-dev mailing list