39650b669d
Running Cassandra 3 gave:
java.lang.UnsupportedClassVersionError: org/hyperic/sigar/SigarException has been compiled by a more recent version of the Java Runtime (class file version 65.0), this version of the Java Runtime only recognizes class file versions up to 52.0
PR: 294323
Reported-by: Lapo Luchini
Fixes: f3a12dc72a "fix compilation with jdk21"
MFH: 2026Q2
Pointy-hat: to me
12 lines
502 B
XML
12 lines
502 B
XML
--- bindings/java/hyperic_jni/jni-build.xml.orig 2021-07-15 16:45:22 UTC
|
|
+++ bindings/java/hyperic_jni/jni-build.xml
|
|
@@ -161,7 +161,7 @@ -->
|
|
<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"
|
|
+ source="8" target="8"
|
|
includes="org/hyperic/jni/*.java"/>
|
|
|
|
<taskdef name="libarch" classname="org.hyperic.jni.ArchNameTask">
|