-
Bug
-
Resolution: Unresolved
-
P3
-
21, 22
-
aix
DatagramSocket delegates to an inner DatagramSocket object. Irrespective of whether datagramSocket is IPv4 or IPv6, we create an IPv6 datagramChannel as its's delegate. So, This can cause problems with operations like joinGroup on AIX.
Tier 2 Test failures :
java/net/MulticastSocket/B6427403.java
java/net/MulticastSocket/NoLoopbackPackets.java
java/net/MulticastSocket/SetLoopbackMode.java
java/net/MulticastSocket/SetOutgoingIf.java
java/net/MulticastSocket/Test.java
Tier 3 Test Failures :
sun/management/jdp/JdpDefaultsTest.java
sun/management/jdp/JdpJmxRemoteDynamicPortTest.java
sun/management/jdp/JdpOffTest.java
sun/management/jdp/JdpSpecificAddressTest.java
Exception in thread "main" java.net.SocketException: joinGroup failed
at java.base/sun.nio.ch.DatagramSocketAdaptor.joinGroup(DatagramSocketAdaptor.java:495)
at java.base/java.net.MulticastSocket.joinGroup(MulticastSocket.java:324)
at MulticastTest.main(MulticastTest.java:16)
Caused by: java.lang.IllegalArgumentException: IPv6 socket cannot join IPv4 multicast group
at java.base/sun.nio.ch.DatagramChannelImpl.innerJoin(DatagramChannelImpl.java:1538)
at java.base/sun.nio.ch.DatagramChannelImpl.join(DatagramChannelImpl.java:1624)
at java.base/sun.nio.ch.DatagramSocketAdaptor.joinGroup(DatagramSocketAdaptor.java:546)
at java.base/sun.nio.ch.DatagramSocketAdaptor.joinGroup(DatagramSocketAdaptor.java:492)
... 2 more
Tier 2 Test failures :
java/net/MulticastSocket/B6427403.java
java/net/MulticastSocket/NoLoopbackPackets.java
java/net/MulticastSocket/SetLoopbackMode.java
java/net/MulticastSocket/SetOutgoingIf.java
java/net/MulticastSocket/Test.java
Tier 3 Test Failures :
sun/management/jdp/JdpDefaultsTest.java
sun/management/jdp/JdpJmxRemoteDynamicPortTest.java
sun/management/jdp/JdpOffTest.java
sun/management/jdp/JdpSpecificAddressTest.java
Exception in thread "main" java.net.SocketException: joinGroup failed
at java.base/sun.nio.ch.DatagramSocketAdaptor.joinGroup(DatagramSocketAdaptor.java:495)
at java.base/java.net.MulticastSocket.joinGroup(MulticastSocket.java:324)
at MulticastTest.main(MulticastTest.java:16)
Caused by: java.lang.IllegalArgumentException: IPv6 socket cannot join IPv4 multicast group
at java.base/sun.nio.ch.DatagramChannelImpl.innerJoin(DatagramChannelImpl.java:1538)
at java.base/sun.nio.ch.DatagramChannelImpl.join(DatagramChannelImpl.java:1624)
at java.base/sun.nio.ch.DatagramSocketAdaptor.joinGroup(DatagramSocketAdaptor.java:546)
at java.base/sun.nio.ch.DatagramSocketAdaptor.joinGroup(DatagramSocketAdaptor.java:492)
... 2 more
- relates to
-
JDK-8207404 MulticastSocket tests failing on AIX
- Resolved
- links to
-
Review openjdk/jdk/14142