RFR: 8334600: TEST java/net/MulticastSocket/IPMulticastIF.java fails on linux-aarch64

Alan Bateman alanb at openjdk.org
Wed Jun 26 08:28:11 UTC 2024


On Tue, 25 Jun 2024 13:22:38 GMT, Daniel Fuchs <dfuchs at openjdk.org> wrote:

> Please find here a change that makes the test IPMulticastIF.java more resilient to platform-dependent behavior.
> 
> The test assumed that you could set any outbound network interface on a bound datagram channel. This is in fact system dependent and could fail if the outbound interface and the local IP Address of the bound socket do not match.
> 
> The test is modified to only select the interfaces to which the local address is bound. It also verifies that any interface can be set if the socket is bound to the wildcard (any local address).

Marked as reviewed by alanb (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/19881#pullrequestreview-2141093166


More information about the net-dev mailing list