8167442: Langtools ant build not working after addition of -Xlint:exports
Disabling the exports lint when compiling the langtools modules until the warnings are resolved. Reviewed-by: mcimadamore, forax
This commit is contained in:
parent
e6bf5b92f7
commit
969c7a933a
langtools/make
@ -24,11 +24,12 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
#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 -Werror -g:source,lines,vars
|
javac.opts = -XDignore.symbol.file=true -Xlint:all,-deprecation,-options,-exports -Werror -g:source,lines,vars
|
||||||
javac.source = 9
|
javac.source = 9
|
||||||
javac.target = 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.source = 8
|
javac.build.source = 8
|
||||||
javac.build.target = 8
|
javac.build.target = 8
|
||||||
|
|
||||||
|
@ -275,7 +275,7 @@
|
|||||||
classpath="${ant.core.lib}"
|
classpath="${ant.core.lib}"
|
||||||
bootclasspath="${langtools.jdk.home}/jre/lib/rt.jar"
|
bootclasspath="${langtools.jdk.home}/jre/lib/rt.jar"
|
||||||
includeantruntime="false">
|
includeantruntime="false">
|
||||||
<compilerarg line="${javac.opts} -XDstringConcat=inline"/>
|
<compilerarg line="${javac.build.opts} -XDstringConcat=inline"/>
|
||||||
</javac>
|
</javac>
|
||||||
<taskdef name="pparse"
|
<taskdef name="pparse"
|
||||||
classname="anttasks.PropertiesParserTask"
|
classname="anttasks.PropertiesParserTask"
|
||||||
@ -291,7 +291,7 @@
|
|||||||
destdir="${build.dir}/toolclasses/"
|
destdir="${build.dir}/toolclasses/"
|
||||||
classpath="${ant.core.lib}"
|
classpath="${ant.core.lib}"
|
||||||
includeantruntime="false">
|
includeantruntime="false">
|
||||||
<compilerarg line="${javac.opts} -XDstringConcat=inline"/>
|
<compilerarg line="${javac.build.opts} -XDstringConcat=inline"/>
|
||||||
</javac>
|
</javac>
|
||||||
<taskdef name="pcompile"
|
<taskdef name="pcompile"
|
||||||
classname="anttasks.CompilePropertiesTask"
|
classname="anttasks.CompilePropertiesTask"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user