8202843: langtools ant build fails
Using default -source/-target settings when building langtools using the developer ant build. Reviewed-by: mcimadamore
This commit is contained in:
parent
b34a8c43f1
commit
366aa4d5e0
@ -24,9 +24,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
#javac configuration for "normal build" (these will be passed to the bootstrap compiler):
|
#javac configuration for "normal build" (these will be passed to the bootstrap compiler):
|
||||||
javac.opts = -XDignore.symbol.file=true -Xlint:all,-deprecation,-options,-exports -Werror -g:source,lines,vars
|
javac.opts = -XDignore.symbol.file=true -Xlint:all,-deprecation,-exports -Werror -g:source,lines,vars
|
||||||
javac.source = 9
|
|
||||||
javac.target = 9
|
|
||||||
|
|
||||||
#version used to compile build tools
|
#version used to compile build tools
|
||||||
javac.build.opts = -XDignore.symbol.file=true -Xlint:all,-deprecation,-options -Werror -g:source,lines,vars
|
javac.build.opts = -XDignore.symbol.file=true -Xlint:all,-deprecation,-options -Werror -g:source,lines,vars
|
||||||
|
@ -232,7 +232,6 @@
|
|||||||
<pathconvert pathsep=" " property="source.files" refid="source.fileset"/>
|
<pathconvert pathsep=" " property="source.files" refid="source.fileset"/>
|
||||||
<echo file="${build.dir}/sources.txt">${source.files}</echo>
|
<echo file="${build.dir}/sources.txt">${source.files}</echo>
|
||||||
<exec executable="${langtools.jdk.home}/bin/javac" failonerror="true">
|
<exec executable="${langtools.jdk.home}/bin/javac" failonerror="true">
|
||||||
<arg line="-source ${javac.source} -target ${javac.target}" />
|
|
||||||
<arg value="-d" />
|
<arg value="-d" />
|
||||||
<arg value="${build.modules}" />
|
<arg value="${build.modules}" />
|
||||||
<arg line="${javac.opts}" />
|
<arg line="${javac.opts}" />
|
||||||
|
Loading…
x
Reference in New Issue
Block a user