On Fri, 28 Jun 2024 15:05:21 GMT, SendaoYan <s...@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. @sendaoYan that would be a question for the maintainers of jdk21 and jdk17 to answer. See https://openjdk.org/projects/jdk-updates/approval.html ------------- PR Comment: https://git.openjdk.org/jdk/pull/19881#issuecomment-2197157733