8173383: Update JDK build to use -source and -target 10
authordarcy
Tue, 31 Jan 2017 17:35:53 -0800
changeset 43597 707f869e5e9a
parent 43596 6f2d432b3cf0
child 43599 3cbf844e8edf
8173383: Update JDK build to use -source and -target 10 Reviewed-by: dholmes
make/common/SetupJavaCompilers.gmk
--- a/make/common/SetupJavaCompilers.gmk	Wed Jan 25 22:32:45 2017 +0000
+++ b/make/common/SetupJavaCompilers.gmk	Tue Jan 31 17:35:53 2017 -0800
@@ -69,7 +69,7 @@
 $(eval $(call SetupJavaCompiler,GENERATE_JDKBYTECODE, \
     JVM := $(JAVA_JAVAC), \
     JAVAC := $(NEW_JAVAC), \
-    FLAGS := -source 9 -target 9 \
+    FLAGS := -source 10 -target 10 \
         -encoding ascii -XDignore.symbol.file=true $(JAVAC_WARNINGS), \
     SERVER_DIR := $(SJAVAC_SERVER_DIR), \
     SERVER_JVM := $(SJAVAC_SERVER_JAVA)))
@@ -79,7 +79,7 @@
 $(eval $(call SetupJavaCompiler,GENERATE_JDKBYTECODE_NOWARNINGS, \
     JVM := $(JAVA_JAVAC), \
     JAVAC := $(NEW_JAVAC), \
-    FLAGS := -source 9 -target 9 \
+    FLAGS := -source 10 -target 10 \
         -encoding ascii -XDignore.symbol.file=true $(DISABLE_WARNINGS), \
     SERVER_DIR := $(SJAVAC_SERVER_DIR), \
     SERVER_JVM := $(SJAVAC_SERVER_JAVA)))