summaryrefslogtreecommitdiff
path: root/sci-libs/gdal/files/gdal-3.8.0-java21.patch
blob: 3e924c5206c133e5b1b854f80dc38a8e4a8350d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- a/swig/java/build.xml
+++ b/swig/java/build.xml
@@ -21,7 +21,7 @@
 	<target name="compile" depends="init" description="Compile the source files.">
 		<mkdir dir="${build_dir}/build/classes"/>
 		<javac srcdir="${build_dir}/org" destdir="${build_dir}/build/classes"
-		       debug="on" source="7" target="7"
+		       debug="on" source="8" target="8"
 		       includeantruntime="false" deprecation="true">
 		</javac>
 		<echo>compilation complete</echo>
@@ -38,7 +38,7 @@
 	<target name="compile_tests" depends="archive" description="Compile the tests files.">
 		<mkdir dir="${build_dir}/build/apps"/>
 		<javac srcdir="${source_apps}" destdir="${build_dir}/build/apps"
-		       debug="on" source="7" target="7"
+		       debug="on" source="8" target="8"
 		       includeantruntime="false" deprecation="true" classpath="${build_dir}/gdal.jar">
 		</javac>
 		<echo>compilation of tests complete</echo>