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
21 lines
654 B
XML
21 lines
654 B
XML
--- bindings/java/build.xml.orig 2021-07-15 16:45:22 UTC
|
|
+++ bindings/java/build.xml
|
|
@@ -94,7 +94,7 @@
|
|
<target name="compile">
|
|
<mkdir dir="${build}/classes"/>
|
|
<javac destdir="${build}/classes"
|
|
- source="1.6" target="1.6"
|
|
+ source="8" target="8"
|
|
sourcepath=""
|
|
debug="true"
|
|
classpathref="libjars">
|
|
@@ -109,7 +109,7 @@
|
|
<target name="compile-tests">
|
|
<mkdir dir="${build}/classes"/>
|
|
<javac destdir="${build}/classes"
|
|
- source="1.6" target="1.6"
|
|
+ source="8" target="8"
|
|
sourcepath=""
|
|
debug="true"
|
|
classpathref="testjars">
|