git: 333d7de5edb2 - main - misc/elki: Unbreak by switching to Java 17

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

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

commit 333d7de5edb29b30e44b289b1a578a0086fea236
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-08-25 18:26:51 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-08-25 19:20:25 +0000

    misc/elki: Unbreak by switching to Java 17
    
    Reported by:    portscout
---
 misc/elki/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/misc/elki/Makefile b/misc/elki/Makefile
index bfc8b27d3cf7..3ec4e69d750a 100644
--- a/misc/elki/Makefile
+++ b/misc/elki/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	elki
 DISTVERSIONPREFIX=	release
 DISTVERSION=	0.7.1-1166
+PORTREVISION=	1
 DISTVERSIONSUFFIX=	-gfb1fffdf3
 CATEGORIES=	misc java
 MASTER_SITES=	LOCAL/yuri/:deps
@@ -16,6 +17,8 @@ LICENSE_FILE=	${WRKSRC}/LICENSE.md
 BUILD_DEPENDS=	gradle5:devel/gradle5
 
 USE_JAVA=	yes
+JAVA_VERSION=	17 # Java 8 fails on aarch64: Java VM: OpenJDK 64-Bit Server VM (25.342-b07 mixed mode bsd-aarch64 compressed oops) Core dump written.
+
 USE_GITHUB=	yes
 GH_ACCOUNT=	elki-project