Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Feb 2026 08:48:11 +0000
From:      bugzilla-noreply@freebsd.org
To:        java@FreeBSD.org
Subject:   [Bug 272855] Mk/bsd.default-versions.mk: update JAVA_DEFAULT to 21
Message-ID:  <bug-272855-8522-xD1OLDAOJi@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-272855-8522@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272855

--- Comment #47 from Ronald Klop <ronald@FreeBSD.org> ---
(In reply to Alex Dupre from comment #10)
(In reply to Alex Dupre from comment #44)
Hi, valid question about opendjk25.

I have a couple of reasons for my choice.
For me the most important reasons are:
* Mind that this project started in 2020 with bug #251774 for openjdk11,
unfortunately that PR lost traction after quite some effort.
* This PR started in 2023 for an update to 17. Got quite some effort, but the
issue lost traction also.
* I first wanted to materialize the investment for the update to 21. This
reduces scope creep and reduces the risk of an unfinished project.

And some (IMHO) less important reasons:
* openjdk21 is in the ports tree since Oct 2023 and is used by a couple of
other actively used ports, so it is proven to be stable enough for production
usage (on FreeBSD).
* openjdk25 is in the ports tree since Oct 2025 and is not used by any other
port yet.

Having said that. Locally I already ran a test compile with JAVA_DEFAULT=25 and
that looks promising. All the work needed for 21 pays off for the update to 25.

So I'm planning to open an issue for JAVA_DEFAULT=25 and ask for an exp-run,
but I will wait with landing that change until the next quarterly (2026Q2) has
branched or even later depending on the feedback on the JAVA_DEFAULT=21 change.

If you have specific needs for openjdk25 to be the default, please engage in
the java@freebsd.org mailinglist. That can help trigger more feedback on the
wish for this.

Regards.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-272855-8522-xD1OLDAOJi>