git: df75a74e26e7 - main - comms/rxtx: pin to java 8

From: Ronald Klop <ronald_at_FreeBSD.org>
Date: Tue, 20 Jan 2026 09:29:17 UTC
The branch main has been updated by ronald:

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

commit df75a74e26e7c706a747370e02cf512f6d97f2f1
Author:     Ronald Klop <ronald@FreeBSD.org>
AuthorDate: 2026-01-07 11:36:23 +0000
Commit:     Ronald Klop <ronald@FreeBSD.org>
CommitDate: 2026-01-20 09:28:57 +0000

    comms/rxtx: pin to java 8
    
    jdk11: javah: not found
    jdk17+: error: invalid use of a restricted identifier 'yield'
    
    PR:     292216
    Approved-by:    maintainer timeout
---
 comms/rxtx/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/comms/rxtx/Makefile b/comms/rxtx/Makefile
index 67854ea50e40..268886858230 100644
--- a/comms/rxtx/Makefile
+++ b/comms/rxtx/Makefile
@@ -14,6 +14,9 @@ LICENSE=	LGPL21
 LICENSE_FILE=	${WRKSRC}/COPYING
 
 USES=		gmake java libtool zip
+# jdk11: javah: not found
+# jdk17+: error: invalid use of a restricted identifier 'yield'
+JAVA_VERSION=	8
 
 JAVA_OS=	native
 GNU_CONFIGURE=	yes