1
0
mirror of https://git.freebsd.org/ports.git synced 2026-06-02 11:08:52 +00:00

java/sigar: fix compilation with jdk21

PR:	272855
This commit is contained in:
Ronald Klop
2025-12-11 14:20:47 +01:00
parent afd5eab712
commit f3a12dc72a
2 changed files with 28 additions and 0 deletions
@@ -0,0 +1,18 @@
--- bindings/java/build.xml.orig 2025-12-11 12:56:58 UTC
+++ bindings/java/build.xml
@@ -94,7 +94,6 @@
<target name="compile">
<mkdir dir="${build}/classes"/>
<javac destdir="${build}/classes"
- source="1.6" target="1.6"
sourcepath=""
debug="true"
classpathref="libjars">
@@ -109,7 +108,6 @@
<target name="compile-tests">
<mkdir dir="${build}/classes"/>
<javac destdir="${build}/classes"
- source="1.6" target="1.6"
sourcepath=""
debug="true"
classpathref="testjars">
@@ -0,0 +1,10 @@
--- bindings/java/hyperic_jni/jni-build.xml.orig 2025-12-11 13:12:48 UTC
+++ bindings/java/hyperic_jni/jni-build.xml
@@ -161,7 +161,6 @@ -->
<echo message="jni.src=${jni.src}, jni.jdk.os=${jni.jdk.os}, ${sun.arch.data.model}-bit"/>
<javac srcdir="${jni.src.java}" destdir="${build}/classes" debug="true"
- source="1.6" target="1.6"
includes="org/hyperic/jni/*.java"/>
<taskdef name="libarch" classname="org.hyperic.jni.ArchNameTask">