[Bug 292241] graphics/jogl: does not build with jdk21

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 07 Jan 2026 12:28:27 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=292241

            Bug ID: 292241
           Summary: graphics/jogl: does not build with jdk21
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: peterj@FreeBSD.org
          Reporter: ronald@FreeBSD.org
             Flags: maintainer-feedback?(peterj@FreeBSD.org)
          Assignee: peterj@FreeBSD.org

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

After a small change to remove pinning to source=1.4 I still get errors.

[javac] Compiling 85 source files to
/wrkdirs/usr/ports/graphics/jogl/work/jogl-1.1.1_11/gluegen/build/classes
[00:00:23]     [javac]
/wrkdirs/usr/ports/graphics/jogl/work/jogl-1.1.1_11/gluegen/src/java/net/highteq/nativetaglet/NativeTaglet.java:3:
error: package com.sun.tools.doclets does not exist
[00:00:23]     [javac] import com.sun.tools.doclets.Taglet;


I propose to pin this port to java 8.
If a better fix is made it can always be unpinned. In the meantime it will keep
working while JAVA_DEFAULT is bumped to 21.

NB: I have a ports commit bit. If you approve I can commit this.

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