git: e81f8397c708 - main - java/javamail: restrict to java version 8

From: Alex Dupre <ale_at_FreeBSD.org>
Date: Wed, 04 May 2022 07:01:13 UTC
The branch main has been updated by ale:

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

commit e81f8397c708934da23d468644a519df73b74adf
Author:     Alex Dupre <ale@FreeBSD.org>
AuthorDate: 2022-05-04 06:57:36 +0000
Commit:     Alex Dupre <ale@FreeBSD.org>
CommitDate: 2022-05-04 06:57:36 +0000

    java/javamail: restrict to java version 8
    
    The Java Activation Framework (jaf), required to build javamail,
    was included in JRE 1.6, but later removed in JRE 11.
    
    PR:             263600
    Submitted by:   wcarson.bugzilla@disillusion.net
---
 java/javamail/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/java/javamail/Makefile b/java/javamail/Makefile
index 8f0dc6540a45..5adc5189a603 100644
--- a/java/javamail/Makefile
+++ b/java/javamail/Makefile
@@ -19,7 +19,7 @@ GH_ACCOUNT=	javaee
 
 CPE_VENDOR=	sun
 USE_JAVA=	YES
-JAVA_VERSION=	8+
+JAVA_VERSION=	8
 USE_ANT=	YES
 NO_ARCH=	yes