From nobody Wed Feb 19 12:26:17 2025 X-Original-To: freebsd-java@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YybH95978z5pJ9h for ; Wed, 19 Feb 2025 12:26:45 +0000 (UTC) (envelope-from rb@gid.co.uk) Received: from gid2.gid.co.uk (ns0.gid.co.uk [IPv6:2001:470:94de::240]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "gid2.gid.co.uk", Issuer "gid2.gid.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YybH90v4Mz3mfC for ; Wed, 19 Feb 2025 12:26:44 +0000 (UTC) (envelope-from rb@gid.co.uk) Authentication-Results: mx1.freebsd.org; none Received: from mx0.gid.co.uk (mx0.gid.co.uk [194.32.164.250]) by gid2.gid.co.uk (8.15.2/8.15.2) with ESMTP id 51JCQXT6040355; Wed, 19 Feb 2025 12:26:33 GMT (envelope-from rb@gid.co.uk) Received: from smtpclient.apple (moriarty.gid.co.uk [194.32.164.17]) by mx0.gid.co.uk (8.14.2/8.14.2) with ESMTP id 51JCQR6r077942; Wed, 19 Feb 2025 12:26:28 GMT (envelope-from rb@gid.co.uk) Content-Type: text/plain; charset=utf-8 List-Id: Porting Java to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-java List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-java@FreeBSD.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3776.700.51.11.1\)) Subject: Re: IPv6 in Java on FreeBSD From: Bob Bishop In-Reply-To: Date: Wed, 19 Feb 2025 12:26:17 +0000 Cc: FreeBSD Java mailing list Content-Transfer-Encoding: quoted-printable Message-Id: References: To: Harald Eilertsen X-Mailer: Apple Mail (2.3776.700.51.11.1) X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US] X-Rspamd-Queue-Id: 4YybH90v4Mz3mfC X-Spamd-Bar: ---- Hi, I would just point out that back in history Java used to want mapped = IPv4 (net.inet6.ip6.v6only=3D0) if IPv6 was enabled; most people don=E2=80= =99t want that which may be why IPv6 support hasn=E2=80=99t been = enabled. I have no idea if this is still the case. > On 19 Feb 2025, at 10:40, Harald Eilertsen = wrote: >=20 > Hi, >=20 > 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. >=20 > 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? >=20 > Also, will this consideration change if we move the default JDK > installed to a newer version, say 21? >=20 > Thanks in advance on any feedback you may have on this! >=20 > Take care! > Harald! >=20 > [1]: https://github.com/battleblow/jdk23u/pull/5 > [2]: https://github.com/battleblow/jdk22u/pull/1 >=20 -- Bob Bishop rb@gid.co.uk