8188012: Nashorn build targets version 9 source
authorihse
Wed, 27 Sep 2017 11:21:40 +0200
changeset 47274 0e67ab18b511
parent 47273 f60a42d4b8cd
child 47275 b4c8426fe105
8188012: Nashorn build targets version 9 source Reviewed-by: erikj, dholmes
make/BuildNashorn.gmk
--- a/make/BuildNashorn.gmk	Wed Sep 27 14:02:15 2017 +0800
+++ b/make/BuildNashorn.gmk	Wed Sep 27 11:21:40 2017 +0200
@@ -41,7 +41,7 @@
 $(eval $(call SetupJavaCompiler, GENERATE_NEWBYTECODE_DEBUG, \
     JVM := $(JAVA_JAVAC), \
     JAVAC := $(NEW_JAVAC), \
-    FLAGS := -g -source 9 -target 9 --upgrade-module-path "$(JDK_OUTPUTDIR)/modules/" \
+    FLAGS := -g -source 10 -target 10 --upgrade-module-path "$(JDK_OUTPUTDIR)/modules/" \
          --system none --module-source-path $(call GetModuleSrcPath), \
     SERVER_DIR := $(SJAVAC_SERVER_DIR), \
     SERVER_JVM := $(SJAVAC_SERVER_JAVA)))