[Bug 292654] devel/dbus-java: does not build with jdk9+
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 22 Jan 2026 16:05:17 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=292654
Bug ID: 292654
Summary: devel/dbus-java: does not build with jdk9+
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: 0mp@FreeBSD.org
Reporter: ronald@FreeBSD.org
Flags: maintainer-feedback?(0mp@FreeBSD.org)
Assignee: 0mp@FreeBSD.org
Created attachment 267391
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=267391&action=edit
git diff to pin openjdk8
Newer jdk versions give multiple errors like this:
[00:00:10] org/freedesktop/dbus/AbstractConnection.java:13: error: as of
release 9, '_' is a keyword, and may not be used as an identifier
[00:00:10] import static org.freedesktop.dbus.Gettext._;
so pin to jdk8
I have a ports commit bit. So if you approve I can commit this patch.
--
You are receiving this mail because:
You are the assignee for the bug.