git: c94ba5ed5035 - main - Mk/bsd.java.mk: Complete support for Java 19, 20 and 21

From: Greg Lewis <glewis_at_FreeBSD.org>
Date: Tue, 24 Oct 2023 04:30:11 UTC
The branch main has been updated by glewis:

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

commit c94ba5ed5035397001e226a67386973fcfd2b910
Author:     Greg Lewis <glewis@FreeBSD.org>
AuthorDate: 2023-10-24 04:29:05 +0000
Commit:     Greg Lewis <glewis@FreeBSD.org>
CommitDate: 2023-10-24 04:29:05 +0000

    Mk/bsd.java.mk: Complete support for Java 19, 20 and 21
    
    PR:             273979
    Reported by:    vvd@
---
 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