Date: Fri, 22 Nov 2024 05:57:52 +0000 From: bugzilla-noreply@freebsd.org To: java@FreeBSD.org Subject: [Bug 282251] java/openjdk22: IPv6 / INET6 is broken Message-ID: <bug-282251-8522-HVeAq5lSo0@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-282251-8522@https.bugs.freebsd.org/bugzilla/> References: <bug-282251-8522@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D282251 --- 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-fa= lse but without the sysctl change. I run a tomcat server with openjdk22 and this configuration to get a dual s= tack tomcat webserver. --- java.base/unix/native/libnio/ch/Net.c.orig 2024-11-21 20:37:03.7015990= 31 -0800 +++ java.base/unix/native/libnio/ch/Net.c 2024-11-21 20:37:37.3274178= 63 -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. */ --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-282251-8522-HVeAq5lSo0>