[Bug 292155] devel/charva: does not compile with jdk11+, uses javah

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 03 Jan 2026 15:21:50 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=292155

            Bug ID: 292155
           Summary: devel/charva: does not compile with jdk11+, uses javah
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ale@FreeBSD.org
          Reporter: ronald@FreeBSD.org
          Assignee: ale@FreeBSD.org
             Flags: maintainer-feedback?(ale@FreeBSD.org)

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

BUILD FAILED
/wrkdirs/usr/ports/devel/charva/work/charva/build.xml:184: javah does not exist
under Java 10 and higher, use the javac task with nativeHeaderDir instead

Pinning this port to jdk8 makes it possible to increase JAVA_DEFAULT to 21 for
the rest of the ports tree.
Nothing in the ports tree depends on this port, so it must be save to do.

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