[Bug 282251] java/openjdk22: IPv6 / INET6 is broken
[email protected] Mon, 06 Jul 2026 21:45:32 +0000
| Newsgroups | gmane.os.freebsd.devel.java |
|---|---|
| Message-ID | <[email protected]/bugzilla/> |
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D282251 --- Comment #11 from Patrick Mackinlay <[email protected]= m> --- On openjdk25 (current stable java), the code at the top works whatever the net.inet6.ip6.v6only sysctl is set to. But, with -Djava.net.preferIPv4Stack=3Dtrue the code fails with "Failed to connect to localhost with INET6" The code works if you dont define java.net.preferIPv4Stack or set it to fal= se. I think it should work regardless of what you set the value to, it does in linux. However, the current state is better than what it was in openjdk17. = So I think you can close this issue. --=20 You are receiving this mail because: You are the assignee for the bug.=