[Bug 193246] Bug in IPv6 multicast join(), uncovered by Jenkins
[email protected] Tue, 04 Aug 2026 20:52:17 +0000
| Newsgroups | gmane.os.freebsd.devel.java |
|---|---|
| Message-ID | <[email protected]/bugzilla/> |
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D193246 --- Comment #30 from Marcin Cie=C5=9Blak <[email protected]> --- I have updated my -current to 1c0d2f0b1a98526e4f1f5a051ce6904b4c3164e1 and played with Jython a bit. When I try on java 11: import java.net g =3D java.net.InetAddress.getAllByName("228.5.6.7") z =3D java.net.MulticastSocket(6790) z.joinGroup(g[0]) This gives: > jython -Djava.net.preferIPv4Stack=3Dfalse join_mcast.py=20 WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by jnr.posix.JavaLibCHelper (file:/usr/local/lib/jython/jython.jar) to method sun.nio.ch.SelChImpl.getF= D() WARNING: Please consider reporting this to the maintainers of jnr.posix.JavaLibCHelper WARNING: Use --illegal-access=3Dwarn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release Traceback (most recent call last): File "join_mcast.py", line 4, in <module> z.joinGroup(g[0]) at java.base/java.net.PlainDatagramSocketImpl.join(Native Method) at java.base/java.net.AbstractPlainDatagramSocketImpl.join(AbstractPlainDatagr= amSocketImpl.java:235) at java.base/java.net.MulticastSocket.joinGroup(MulticastSocket.java:328) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Meth= od) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethod= AccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Delegati= ngMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) java.net.SocketException: java.net.SocketException: Invalid argument I can confirm that udp46 socket gets created before the program exists udp46 0 0 *.6790 *.* --=20 You are receiving this mail because: You are on the CC list for the bug.=