[Bug 282251] java/openjdk22: IPv6 / INET6 is broken
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 282251] java/openjdk22: IPv6 / INET6 is broken"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 22 Nov 2024 05:57:52 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282251 --- Comment #6 from antonfb@hesiod.org --- FYI: I set up to build the openjdk22 port with the following change. This allows your simple test to work with the -Djava.net.preferIPv4Stack-false but without the sysctl change. I run a tomcat server with openjdk22 and this configuration to get a dual stack tomcat webserver. --- java.base/unix/native/libnio/ch/Net.c.orig 2024-11-21 20:37:03.701599031 -0800 +++ java.base/unix/native/libnio/ch/Net.c 2024-11-21 20:37:37.327417863 -0800 @@ -285,7 +285,7 @@ return handleSocketError(env, errno); } -#ifndef _BSDONLY_SOURCE +#ifndef notdef /* _BSDONLY_SOURCE */ /* * If IPv4 is available, disable IPV6_V6ONLY to ensure dual-socket support. */ -- You are receiving this mail because: You are the assignee for the bug.