changeset 50608:54eda3aad6dd

8202843: langtools ant build fails Summary: Using default -source/-target settings when building langtools using the developer ant build. Reviewed-by: mcimadamore
author jlahoda
date Wed, 09 May 2018 17:14:29 +0200
parents 758deedaae84
children 35b22ca681d1
files make/langtools/build.properties make/langtools/build.xml
diffstat 2 files changed, 1 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/make/langtools/build.properties	Wed May 09 13:37:05 2018 +0200
+++ b/make/langtools/build.properties	Wed May 09 17:14:29 2018 +0200
@@ -24,9 +24,7 @@
 #
 
 #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.source = 9
-javac.target = 9
+javac.opts = -XDignore.symbol.file=true -Xlint:all,-deprecation,-exports -Werror -g:source,lines,vars
 
 #version used to compile build tools
 javac.build.opts = -XDignore.symbol.file=true -Xlint:all,-deprecation,-options -Werror -g:source,lines,vars
--- a/make/langtools/build.xml	Wed May 09 13:37:05 2018 +0200
+++ b/make/langtools/build.xml	Wed May 09 17:14:29 2018 +0200
@@ -232,7 +232,6 @@
         <pathconvert pathsep=" " property="source.files" refid="source.fileset"/>
         <echo file="${build.dir}/sources.txt">${source.files}</echo>
         <exec executable="${langtools.jdk.home}/bin/javac" failonerror="true">
-            <arg line="-source ${javac.source} -target ${javac.target}" />
             <arg value="-d" />
             <arg value="${build.modules}" />
             <arg line="${javac.opts}" />