[Bug 293756] Mk/Uses/java.mk: prefer latest LTS openjdk

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 08 Apr 2026 07:16:00 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=293756

--- Comment #9 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/ports/commit/?id=ea9b758b76fda040a56a4d48a161804c22b39214

commit ea9b758b76fda040a56a4d48a161804c22b39214
Author:     Ronald Klop <ronald@FreeBSD.org>
AuthorDate: 2026-03-09 19:19:48 +0000
Commit:     Ronald Klop <ronald@FreeBSD.org>
CommitDate: 2026-04-08 07:09:59 +0000

    Mk/Uses/java.mk: re-order preferred JDK (latest LTS over non-LTS)

    Old order:
    1. JAVA_DEFAULT
    2. The oldest JDK in the JAVA_VERSION range.

    New order:
    1. JAVA_DEFAULT (unchanged)
    2. The latest LTS from the JAVA_VERSION range is preferred over non-LTS
versions.

    Other existing mechanisms are unchanged. Like looking at what JDKs are
already
    installed.
    This only affects 17 ports. (see the issue for the list)

    PR:     293756

 Mk/Uses/java.mk | 26 +++++++++++++++++---------
 1 file changed, 17 insertions(+), 9 deletions(-)

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