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
|
||||
|
||||
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 =======================
|
||||
(No Changes)
|
||||
|
||||
|
|
|
@ -1942,7 +1942,7 @@ ${ant.project.name}.test.dependencies=${test.classpath.list}
|
|||
|
||||
<sequential>
|
||||
<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"/>
|
||||
</condition>
|
||||
<mkdir dir="@{destdir}"/>
|
||||
|
@ -2072,7 +2072,7 @@ ${ant.project.name}.test.dependencies=${test.classpath.list}
|
|||
<attribute name="linksource" default="no"/>
|
||||
<sequential>
|
||||
<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"/>
|
||||
</condition>
|
||||
<antcall target="download-java8-javadoc-packagelist"/>
|
||||
|
|
Loading…
Reference in New Issue