[Bug 292662] games/lizzie: does not build with jdk11+

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 22 Jan 2026 18:46:40 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=292662

            Bug ID: 292662
           Summary: games/lizzie: does not build with jdk11+
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: yuri@freebsd.org
          Reporter: ronald@FreeBSD.org
             Flags: maintainer-feedback?(yuri@freebsd.org)
          Assignee: yuri@freebsd.org

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

The build fails with JDK11 or newer.
I don't know how to fix this. I propose to pin the port to JDK8. Nothing in the
ports tree depends on this.
This will make it possible to bump JAVA_DEFAULT to 21 and still keep this port
working.

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

Build fails with:
[00:00:16] [INFO] --- appbundle-maven-plugin:1.2.0:bundle (default) @ lizzie
---
[00:00:17] [INFO] Creating and setting up the bundle directories
[00:00:17] [INFO] Copying the native Java Application Stub
[00:00:17] [INFO] Copying the Icon File
[00:00:17] [INFO] Copying dependencies
[00:00:17] [INFO] Writing the Info.plist file
[00:00:17] [INFO] FileResourceLoader : adding path 'target/classes'
[00:00:17] [INFO] Null reference [template 'config/Info.plist', line 61, column
13] : $APP_ROOT cannot be resolved.
[00:00:17] [INFO] Copying additional resources
[00:00:17] [INFO]
------------------------------------------------------------------------
[00:00:17] [INFO] BUILD FAILURE
[00:00:17] [INFO]
------------------------------------------------------------------------
[00:00:17] [INFO] Total time:  5.590 s
[00:00:17] [INFO] Finished at: 2026-01-22T15:47:21Z
[00:00:17] [INFO]
------------------------------------------------------------------------
[00:00:17] [ERROR] Failed to execute goal
sh.tak.appbundler:appbundle-maven-plugin:1.2.0:bundle (default) on project
lizzie: Execution default of goal
sh.tak.appbundler:appbundle-maven-plugin:1.2.0:bundle failed: An API
incompatibility was encountered while executing
sh.tak.appbundler:appbundle-maven-plugin:1.2.0:bundle:
java.lang.ExceptionInInitializerError: null

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