[Bug 289858] Mk/Uses/java.mk: Use JAVA_VERSION as priority

[email protected] Thu, 05 Mar 2026 10:50:21 +0000
Newsgroups gmane.os.freebsd.devel.java
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289858

Ronald Klop <[email protected]> changed:

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

--- Comment #7 from Ronald Klop <[email protected]> ---
(In reply to Vladimir Druzenko from comment #6)
I would love to have this feature:
JAVA_VERSION= <preferred version> [additional supported versions]
So I could specify this for example.
JAVA_VERSION=17 11 8

But without the mentioned regression of ignoring the JAVA_DEFAULT.
No JAVA_VERSION or JAVA_VERSION=17+ should still provide the current
JAVA_DEFAULT (21).

I will take a look at your patch and test it.

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