aboutsummaryrefslogtreecommitdiffstats
path: root/testing/java-asmtools/source-target.patch
blob: 351408b7c7c44c31baa414a842f9eef96acd3c13 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
--- a/build/build.xml
+++ b/build/build.xml
@@ -290,6 +290,7 @@
         <delete dir="${build.classes}" quiet="true"/>
         <mkdir dir="${build.classes}"/>
         <javac encoding="iso-8859-1" debug="true" target="1.7"
+               source="1.7"
                srcdir="${src.dir}"
                sourcepath=""
                destdir="${build.classes}"
@@ -307,6 +308,7 @@
     <target name="compile.test.copyright.classes">
         <mkdir dir="${build.classes}"/>
         <javac encoding="iso-8859-1" debug="true" target="1.7"
+               source="1.7"
                srcdir="${test.dir}"
                destdir="${build.classes}"
                classpath="${jdk14.classpath}">
@@ -320,6 +322,7 @@
 
         <mkdir dir="${build.junit.classes}"/>
         <javac encoding="iso-8859-1" debug="true" target="1.7"
+               source="1.7"
                srcdir="${src.dir}"
                destdir="${build.junit.classes}"
                classpath="${jdk14.classpath}:${build.classes}:${bytecodelib}:${junitlib}">