[Bug 291564] games/stendhal: does not build with jdk17 and newer

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 11 Dec 2025 08:22:48 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291564

            Bug ID: 291564
           Summary: games/stendhal: does not build with jdk17 and newer
           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
                CC: antumdeluge@gmail.com
                CC: antumdeluge@gmail.com
             Flags: maintainer-feedback?(antumdeluge@gmail.com)

Created attachment 266082
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=266082&action=edit
git diff with patch to increase minimal supported source/target

Build fails on jdk17 and newer:

[00:00:26]     [javac] Compiling 1 source file to
/wrkdirs/usr/ports/games/stendhal/work/stendhal-1.35/build/build_client
[00:00:26]     [javac] warning: [options] bootstrap class path not set in
conjunction with -source 6
[00:00:26]     [javac] error: Source option 6 is no longer supported. Use 7 or
later.
[00:00:26]     [javac] error: Target option 6 is no longer supported. Use 7 or
later.
[00:00:26] 
[00:00:26] BUILD FAILED
[00:00:26] /wrkdirs/usr/ports/games/stendhal/work/stendhal-1.35/build.xml:469:
Compile failed; see the compiler error output for details.

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