6827026: Change javac source and target default to 7
Reviewed-by: darcy, ohair
This commit is contained in:
parent
a4e92d5f8e
commit
1a23b46f1e
jaxws/make
@ -79,6 +79,14 @@ else
|
||||
endif
|
||||
endif
|
||||
|
||||
ifdef SOURCE_LANGUAGE_VERSION
|
||||
ANT_OPTIONS += -Djavac.source=$(SOURCE_LANGUAGE_VERSION)
|
||||
else
|
||||
ifdef JAVAC_SOURCE_ARG
|
||||
ANT_OPTIONS += -Djavac.source=$(JAVAC_SOURCE_ARG)
|
||||
endif
|
||||
endif
|
||||
|
||||
ifdef ALT_BOOTDIR
|
||||
ANT_JAVA_HOME = JAVA_HOME=$(ALT_BOOTDIR)
|
||||
endif
|
||||
|
@ -30,6 +30,7 @@
|
||||
# one of the standard user build.properties files (see build.xml)
|
||||
|
||||
# options for the <javac> tasks used to compile the tools
|
||||
javac.source = 5
|
||||
javac.target = 5
|
||||
javac.debug = true
|
||||
javac.debuglevel = source,lines
|
||||
|
@ -107,6 +107,7 @@
|
||||
destdir="${build.classes.dir}"
|
||||
memoryInitialSize="${javac.memoryInitialSize}"
|
||||
memoryMaximumSize="${javac.memoryMaximumSize}"
|
||||
source="${javac.source}"
|
||||
target="${javac.target}"
|
||||
excludes="com/sun/tools/internal/txw2/**">
|
||||
<compilerarg value="-J-Xbootclasspath/p:${bootstrap.dir}/lib/javac.jar"/>
|
||||
|
Loading…
x
Reference in New Issue
Block a user