CLI: compile preloader against JDK 1.6

To be able to detect the Java runtime version at startup to report an
error if it's < 1.8
This commit is contained in:
Alexander Udalov
2017-06-01 00:43:40 +03:00
parent a236400785
commit ea9194e1fb
5 changed files with 30 additions and 28 deletions
+1 -1
View File
@@ -283,7 +283,7 @@
<target name="preloader">
<cleandir dir="${output}/classes/preloader"/>
<javac destdir="${output}/classes/preloader" debug="true" debuglevel="lines,vars,source" includeAntRuntime="false"
source="${java.target}" target="${java.target}">
source="1.6" target="1.6">
<src location="${basedir}/compiler/preloader/src"/>
</javac>