Integrated: 8334600: TEST java/net/MulticastSocket/IPMulticastIF.java fails on linux-aarch64
Daniel Fuchs
dfuchs at openjdk.org
Wed Jun 26 10:12:13 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).
This pull request has now been integrated.
Changeset: f23295ec
Author: Daniel Fuchs <dfuchs at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/f23295ec1dde58d239a2625c9b1645534a2bb625
Stats: 25 lines in 1 file changed: 16 ins; 0 del; 9 mod
8334600: TEST java/net/MulticastSocket/IPMulticastIF.java fails on linux-aarch64
Reviewed-by: alanb
-------------
PR: https://git.openjdk.org/jdk/pull/19881
More information about the net-dev
mailing list