This fixes the AIX-specific IPv4 multicast join path for dual-stack IPv6 datagram sockets.
Manual testing has succeeded for: - test/jdk/java/net/MulticastSocket/JoinIPv4GroupOnIPv6Socket.java: passed - test/jdk/java/net/MulticastSocket: passed, 18 passed / 0 failed / 0 errors - test/jdk/java/nio/channels/DatagramChannel/BasicMulticastTests.java: passed - test/jdk/java/nio/channels/DatagramChannel/MulticastSendReceiveTests.java: passed - test/jdk/java/nio/channels/DatagramChannel/Promiscuous.java: passed Also the daily test suite has succeeded for tiers 1-4. All relevant tests have passed. --------- - [x] I confirm that I make this contribution in accordance with the [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai). ------------- Commit messages: - make real EINVAL on IPv6 groups surface as Exception - Adapt bug number to new JBS issue - Fix the response of canIPv6SocketJoinIPv4Group: general capability - 8308807: MulticastSocket cannot join IPv4 multicast group when IPv6 is enabled (aix) Changes: https://git.openjdk.org/jdk/pull/32317/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=32317&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8390212 Stats: 124 lines in 4 files changed: 115 ins; 4 del; 5 mod Patch: https://git.openjdk.org/jdk/pull/32317.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/32317/head:pull/32317 PR: https://git.openjdk.org/jdk/pull/32317
