[Bug 292152] java/jxgrabkey: support building with jdk21

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 03 Jan 2026 14:11:53 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=292152

            Bug ID: 292152
           Summary: java/jxgrabkey: support building with jdk21
           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

Created attachment 266778
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=266778&action=edit
git diff to fix build with any jdk

Errors with:
    [javac] error: Source option 7 is no longer supported. Use 8 or later.
    [javac] error: Target option 7 is no longer supported. Use 8 or later.

Unsetting source and target makes it build fine with any jdk.

--- Comment #1 from Bugzilla Automation <bugzilla@FreeBSD.org> ---
Maintainer informed via mail

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