File: java_version.patch

package info (click to toggle)
libhmsbeagle 4.0.1%2Bdfsg-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 46,440 kB
  • sloc: xml: 133,356; cpp: 36,477; ansic: 5,842; java: 2,400; python: 643; sh: 338; makefile: 50
file content (23 lines) | stat: -rw-r--r-- 705 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From: Pierre Gruet <pgt@debian.org>
Date: Thu, 7 Aug 2025 16:31:33 +0200
Subject: raise version to 1.8 for javac, 1.6 is not suppported anymore

Forwarded: not-needed
Last-Update: 2022-12-16
---
 build.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/build.xml b/build.xml
index dd1540c..c8c6dff 100755
--- a/build.xml
+++ b/build.xml
@@ -34,7 +34,7 @@
 
 	<target name="compile" depends="init">
 		<!-- Compile the java code from ${src} into ${build} -->
-		<javac source="1.6" target="1.6" srcdir="${src}" destdir="${build}" classpath="">
+		<javac source="1.8" target="1.8" srcdir="${src}" destdir="${build}" classpath="">
 			<include name="beagle/**"/>
 		</javac>
 	</target>