Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 07 Oct 2024 14:52:39 +0000
From:      bugzilla-noreply@freebsd.org
To:        java@FreeBSD.org
Subject:   [Bug 239890] java/openjdk11: openjdk 11.0.4+11.2 JDBC connections fail with IPv6 addresses
Message-ID:  <bug-239890-8522-KsooWuStTe@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-239890-8522@https.bugs.freebsd.org/bugzilla/>
References:  <bug-239890-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=3D239890

--- Comment #14 from antonfb@hesiod.org ---
I'm currently investigating a patch for this against openjdk22.
What I've found is
java.base/unix/native/libnio/ch/Net.c has a code section ifndef'ed to preve=
nt
BSD's from clearing the V6Only socket option.
I suspect this was put in a VERY long time ago, maybe BSD didn't support the
v6only stuff at the time, and has been forgotten.
I have to setup a test environment because I don't want to test in my
production environment. I would like to get back to using ipv6 on FreeBSD a=
nd
hope this will help.

--=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-239890-8522-KsooWuStTe>