File: java-9.patch

package info (click to toggle)
fastqc 0.11.9%2Bdfsg-6
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,388 kB
  • sloc: java: 6,900; perl: 285; xml: 56; sh: 33; makefile: 7
file content (22 lines) | stat: -rw-r--r-- 901 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Author: Andreas Tille <tille@debian.org>
Last-Update: Fri, 27 Apr 2018 08:17:25 +0200
Description: Set Java 9 as build target
 No idea whether this has some influence finally but trying to get rid
 of this warning
    [javac] Using javac -source 1.5 is no longer supported, switching to 1.7
    [javac] Using javac -target 1.5 is no longer supported, switching to 1.7
 is intended by this patch.

--- a/build.xml
+++ b/build.xml
@@ -7,8 +7,8 @@
 <project basedir="." default="build" name="FastQC">
     <property environment="env"/>
     <property name="debuglevel" value="source,lines,vars"/>
-    <property name="target" value="1.5"/>
-    <property name="source" value="1.5"/>
+    <property name="target" value="1.9"/>
+    <property name="source" value="1.9"/>
     <path id="FastQC.classpath">
         <pathelement location="bin"/>
         <pathelement location="/usr/share/java/jbzip2.jar"/>