[Bug 293467] Mk/Uses/java.mk: add support for JAVA_VERSION=default and JAVA_VERSION=latest

[email protected] Thu, 26 Feb 2026 17:25:12 +0000
Newsgroups gmane.os.freebsd.devel.java
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=293467

Ronald Klop <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #3 from Ronald Klop <[email protected]> ---
I like the idea of your change.
The JAVA_VERSION=latest seems a nice new feature to me.

What I don’t understand, how is JAVA_VERSION=default different from not setting
JAVA_VERSION at all?

And do you have an example of “preferring ancient versions and ignoring value
set in bsd.default-versions.mk”? I saw a port with JAVA_VERSION=17+ correctly
choosing openjdk21 now 21 is the default.
https://www.freshports.org/astro/traccar/

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