git: 2c0b87ce96a9 - main - science/jmol: Unbreak by switching to Java 17

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Thu, 25 Aug 2022 18:12:38 UTC
The branch main has been updated by yuri:

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

commit 2c0b87ce96a96a8b0fa9e4c8700dc88fdecfd0df
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-08-25 18:11:48 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-08-25 18:12:33 +0000

    science/jmol: Unbreak by switching to Java 17
    
    Reported by:    fallout
---
 science/jmol/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/science/jmol/Makefile b/science/jmol/Makefile
index 26a678e8df5e..35c8d1c95c8e 100644
--- a/science/jmol/Makefile
+++ b/science/jmol/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	Jmol
 DISTVERSION=	14.32.67
+PORTREVISION=	1
 CATEGORIES=	science java
 MASTER_SITES=	SF/${PORTNAME:tl}/${PORTNAME}/Version%20${DISTVERSION:R}/${PORTNAME}%20${DISTVERSION}/
 DISTFILES=	${PORTNAME}-${DISTVERSION}-full${EXTRACT_SUFX}
@@ -12,6 +13,7 @@ LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
 USE_JAVA=	yes
 USE_ANT=	yes
+JAVA_VERSION=	17 # Java 8 fails on aarch64: Internal Error (assembler_aarch64.hpp:237), pid=91175, tid=0x000000000007cda5 guarantee(val < (1U << nbits)) failed: Field too big for insn
 
 NO_ARCH=	yes