Re: IPv6 in Java on FreeBSD

Bob Bishop <[email protected]>
Newsgroups gmane.os.freebsd.devel.java
Message-ID <[email protected]>
Hi,

I would just point out that back in history Java used to want mapped IPv4 (net.inet6.ip6.v6only=0) if IPv6 was enabled; most people don’t want that which may be why IPv6 support hasn’t been enabled. I have no idea if this is still the case.

> On 19 Feb 2025, at 10:40, Harald Eilertsen <[email protected]> wrote:
> 
> Hi,
> 
> IPv6 support in Java on FreeBSD has been an issue for quite a while. I
> believe I have found the cause of that, and have created PRs both for
> the OpenJDK 23[1] and 22[2] ports. In addition this change is also
> included in the work I've done for the next version (24) and in the
> patchset I'm working on for the OpenJDK main branch for upstreaming.
> 
> One question I have is, how far back does it make sense to port this
> change? Is it ok to patch the most recent JDK versions, or do we want to
> apply it all the way back to JDK 8 or 11?
> 
> Also, will this consideration change if we move the default JDK
> installed to a newer version, say 21?
> 
> Thanks in advance on any feedback you may have on this!
> 
> Take care!
> Harald!
> 
> [1]: https://github.com/battleblow/jdk23u/pull/5
> [2]: https://github.com/battleblow/jdk22u/pull/1
> 

--
Bob Bishop
[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.