objectweb-asm/objectweb-asm-6.0-sourcetarget.patch

22 lines
951 B
Diff

--- objectweb-asm-6.0/build.xml 2018-12-11 10:17:16.622582636 +0100
+++ objectweb-asm-6.0/build.xml 2018-12-11 10:17:41.218707834 +0100
@@ -48,6 +48,9 @@
<property name="config" value="${basedir}/config" />
<property name="archive" value="${basedir}/archive" />
+ <property name="compile.source" value="8"/>
+ <property name="compile.target" value="8"/>
+
<property name="out" value="${basedir}/output" />
<property name="out.build" value="${out}/build" />
<property name="out.instr" value="${out}/instr" />
@@ -125,7 +128,7 @@
</target>
<target name="compile-debug" depends="init,compile-init">
- <javac destdir="${out.build}/tmp" debug="on" source="1.5" target="1.5">
+ <javac destdir="${out.build}/tmp" debug="on" source="${compile.source}" target="${compile.target}" encoding="ISO-8859-1">
<classpath>
<pathelement location="${out.build}/tmp" />
<pathelement location="${config}/${biz.aQute.bnd.path}" />