[Bug 239890] java/openjdk11: openjdk 11.0.4+11.2 JDBC connections fail with IPv6 addresses

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 07 Oct 2024 14:52:39 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239890

--- 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 prevent
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 and
hope this will help.

-- 
You are receiving this mail because:
You are the assignee for the bug.