[Bug 291657] devel/gradle5: pin to openjdk8 or openjdk11

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 14 Dec 2025 13:28:01 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291657

            Bug ID: 291657
           Summary: devel/gradle5: pin to openjdk8 or openjdk11
           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 266182
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=266182&action=edit
git diff to pin openjdk8/11

Gradle5 itself builds fine with openjdk21.
But Gradle5 can't compile projects when run with a JDK newer than openjdk11.

See
https://pkg-status.freebsd.org/gohan06/data/142amd64-default-foo/2025-06-23_07h19m29s/logs/errors/elki-0.7.1.1166_1.log
from bug #272855.

Making sure that gradle5 runs with an upstream supported JDK fixes the build
for misc/elki.

If you approve I'm able to commit the patch to the ports tree.

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