mirror of https://github.com/apache/lucene.git
LUCENE-7292: Fix build to use "--release 8" instead of "-release 8" on Java 9 (this changed with recent EA build b135)
This commit is contained in:
parent
3d130097b7
commit
3712bf5819
|
@ -70,6 +70,11 @@ Optimizations
|
||||||
|
|
||||||
Other
|
Other
|
||||||
|
|
||||||
|
Build
|
||||||
|
|
||||||
|
* LUCENE-7292: Fix build to use "--release 8" instead of "-release 8" on
|
||||||
|
Java 9 (this changed with recent EA build b135). (Uwe Schindler)
|
||||||
|
|
||||||
======================= Lucene 6.2.1 =======================
|
======================= Lucene 6.2.1 =======================
|
||||||
(No Changes)
|
(No Changes)
|
||||||
|
|
||||||
|
|
|
@ -1942,7 +1942,7 @@ ${ant.project.name}.test.dependencies=${test.classpath.list}
|
||||||
|
|
||||||
<sequential>
|
<sequential>
|
||||||
<local name="javac.release.args"/>
|
<local name="javac.release.args"/>
|
||||||
<condition property="javac.release.args" value="-source @{javac.release} -target @{javac.release}" else="-release @{javac.release}">
|
<condition property="javac.release.args" value="-source @{javac.release} -target @{javac.release}" else="--release @{javac.release}">
|
||||||
<equals arg1="${build.java.runtime}" arg2="1.8"/>
|
<equals arg1="${build.java.runtime}" arg2="1.8"/>
|
||||||
</condition>
|
</condition>
|
||||||
<mkdir dir="@{destdir}"/>
|
<mkdir dir="@{destdir}"/>
|
||||||
|
@ -2072,7 +2072,7 @@ ${ant.project.name}.test.dependencies=${test.classpath.list}
|
||||||
<attribute name="linksource" default="no"/>
|
<attribute name="linksource" default="no"/>
|
||||||
<sequential>
|
<sequential>
|
||||||
<local name="javadoc.release.args"/>
|
<local name="javadoc.release.args"/>
|
||||||
<condition property="javadoc.release.args" value="-source ${javac.release}" else="-release ${javac.release}">
|
<condition property="javadoc.release.args" value="-source ${javac.release}" else="--release ${javac.release}">
|
||||||
<equals arg1="${build.java.runtime}" arg2="1.8"/>
|
<equals arg1="${build.java.runtime}" arg2="1.8"/>
|
||||||
</condition>
|
</condition>
|
||||||
<antcall target="download-java8-javadoc-packagelist"/>
|
<antcall target="download-java8-javadoc-packagelist"/>
|
||||||
|
|
Loading…
Reference in New Issue