[Bug 272855] Mk/bsd.default-versions.mk: update JAVA_DEFAULT to 21
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 09 Feb 2026 11:46:08 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272855
--- Comment #39 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:
URL:
https://cgit.FreeBSD.org/ports/commit/?id=9ab5b8b06626e2533d27a6bc704a14af4f7de8f7
commit 9ab5b8b06626e2533d27a6bc704a14af4f7de8f7
Author: Ronald Klop <ronald@FreeBSD.org>
AuthorDate: 2026-02-08 20:06:29 +0000
Commit: Ronald Klop <ronald@FreeBSD.org>
CommitDate: 2026-02-09 11:45:30 +0000
databases/cassandra[34]: allow building with JAVA_DEFAULT=21
- ant needs to have JAVA_HOME set to the defined JAVA_VERSION
Reason:
when apache-ant pulls in openjdk21 as run dependency it will try
to use it if JAVA_HOME is not set. This gives the error:
"Java 15 has removed Nashorn, you must provide an engine for running
JavaScript yourself. GraalVM JavaScript currently is the preferred
option.", as cassandra needs an older Java version.
These ports have USES=ant, but override do-build and fetch. That is
why some special handling is needed.
PR: 272855
PR: 293050
Approved-by: Angelo Polo (maintainer)
databases/cassandra3/Makefile | 4 ++--
databases/cassandra4/Makefile | 10 ++++++----
2 files changed, 8 insertions(+), 6 deletions(-)
--
You are receiving this mail because:
You are on the CC list for the bug.