git: 902486bc8ffc - main - net/jgroups: fix build with jdk21

From: Ronald Klop <ronald_at_FreeBSD.org>
Date: Mon, 15 Dec 2025 17:26:12 UTC
The branch main has been updated by ronald:

URL: https://cgit.FreeBSD.org/ports/commit/?id=902486bc8ffc27fd8a08f9b9cb05987050766067

commit 902486bc8ffc27fd8a08f9b9cb05987050766067
Author:     Ronald Klop <ronald@FreeBSD.org>
AuthorDate: 2025-12-14 21:17:41 +0000
Commit:     Ronald Klop <ronald@FreeBSD.org>
CommitDate: 2025-12-15 17:25:32 +0000

    net/jgroups: fix build with jdk21
    
    PR:     291670
---
 net/jgroups/files/patch-build.xml | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/net/jgroups/files/patch-build.xml b/net/jgroups/files/patch-build.xml
new file mode 100644
index 000000000000..d0c9bf6ae90b
--- /dev/null
+++ b/net/jgroups/files/patch-build.xml
@@ -0,0 +1,18 @@
+--- build.xml.orig	2025-12-14 20:22:21 UTC
++++ build.xml
+@@ -92,7 +92,6 @@
+             depends="prepare"
+             description="Compiles all Java files">
+         <javac destdir="${compile.dir}"
+-               source="1.6"
+                classpathref="jg.classpath"
+                includeantruntime="false"
+                debug="on"
+@@ -115,7 +114,6 @@
+             depends="prepare"
+             description="Compiles all Java files">
+         <javac destdir="${compile.dir}"
+-               source="1.6"
+                classpathref="jg.classpath"
+                includeantruntime="false"
+                debug="on"