[Bug 291579] devel/luajava: only builds with openjdk8

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 11 Dec 2025 16:09:26 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291579

            Bug ID: 291579
           Summary: devel/luajava: only builds with openjdk8
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: ronald@FreeBSD.org
                CC: sunghyuk@gmail.com
             Flags: maintainer-feedback?(sunghyuk@gmail.com)
                CC: sunghyuk@gmail.com

Created attachment 266097
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=266097&action=edit
git diff to pin openjdk8

Compiliing with jdk21 gives an error in javadoc which is fixed by making the
patch-Makefile more generic so all jdk versions use '-Xdoclint:none'.

With the doclint option jdk11 and newer give an error on missing javah
executable. I can't quickly fix this, so let's pin the port to openjdk8.

With this patch we can set JAVA_DEFAULT=21 and this port will still use
openjdk8 to builld.

I have a ports commit bit. If you approve I can commit the patch.

-- 
You are receiving this mail because:
You are the assignee for the bug.