On Tue, 25 Jun 2024 13:22:38 GMT, Daniel Fuchs <dfu...@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). @dfuch Do you mind I will try to backport this patch to jdk21 and jdk17. ------------- PR Comment: https://git.openjdk.org/jdk/pull/19881#issuecomment-2197141185