[Bug 291538] sysutils/jvmtop: does not build with openjdk11 and newer

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 10 Dec 2025 07:55:58 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291538

            Bug ID: 291538
           Summary: sysutils/jvmtop: does not build with openjdk11 and
                    newer
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: jgh@FreeBSD.org
          Reporter: ronald@FreeBSD.org
             Flags: maintainer-feedback?(jgh@FreeBSD.org)
          Assignee: jgh@FreeBSD.org

Created attachment 266052
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=266052&action=edit
git diff to pin the port to java 8

Building with openjdk11 (or newer) in poudriere gives me this error:

[00:00:45] [ERROR] Failed to execute goal on project jvmtop: Could not resolve
dependencies for project com.jvmtop:jvmtop:jar:0.9.0-SNAPSHOT: Could not find
artifact com.sun:tools:jar:1.6 at specified path
/usr/local/openjdk11/../lib/tools.jar -> [Help 1]

The attached patch pins the port to openjdk8.
NB: I have a ports commit bit, so I can commit the patch if approved.

This PR is related to bug #272855.

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