git: f3b40ea4f82f - 2023Q4 - Mk/bsd.java.mk: Complete support for Java 19, 20 and 21

From: Vladimir Druzenko <vvd_at_FreeBSD.org>
Date: Thu, 16 Nov 2023 12:17:08 UTC
The branch 2023Q4 has been updated by vvd:

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

commit f3b40ea4f82f3c3891457a631f9b2967893073aa
Author:     Greg Lewis <glewis@FreeBSD.org>
AuthorDate: 2023-10-24 04:29:05 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2023-11-16 12:14:26 +0000

    Mk/bsd.java.mk: Complete support for Java 19, 20 and 21
    
    PR:             273979
    Reported by:    vvd@
    
    (cherry picked from commit c94ba5ed5035397001e226a67386973fcfd2b910)
---
 Mk/bsd.java.mk | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/Mk/bsd.java.mk b/Mk/bsd.java.mk
index 9a7362612c45..162e2836e236 100644
--- a/Mk/bsd.java.mk
+++ b/Mk/bsd.java.mk
@@ -22,7 +22,8 @@ Java_Include_MAINTAINER=	java@FreeBSD.org
 #
 # JAVA_VERSION		List of space-separated suitable java versions for the
 #					port. An optional "+" allows you to specify a range of
-#					versions. (allowed values: 8[+] 11[+] 17[+] 18[+])
+#					versions. (allowed values: 8[+] 11[+] 17[+] 18[+] 19[+]
+#					20[+] 21[+])
 #
 # JAVA_OS			List of space-separated suitable JDK port operating systems
 #					for the port. (allowed values: native linux)
@@ -159,7 +160,7 @@ SUB_LIST+=		JAVA_OS="${JAVA_OS}"
 .    endif
 
 # The complete list of Java versions, os and vendors supported.
-__JAVA_VERSION_LIST=	8 11 17 18
+__JAVA_VERSION_LIST=	8 11 17 18 19 20 21
 _JAVA_VERSION_LIST=		${__JAVA_VERSION_LIST} ${__JAVA_VERSION_LIST:S/$/+/}
 _JAVA_OS_LIST=			native linux
 _JAVA_VENDOR_LIST=		openjdk oracle