8073560: Update BuildNashorn.gmk to require source/target 8 for jdk9 build
Reviewed-by: sundar
--- a/nashorn/make/BuildNashorn.gmk Fri Feb 20 15:47:28 2015 +0100
+++ b/nashorn/make/BuildNashorn.gmk Fri Feb 20 17:18:47 2015 +0100
@@ -44,11 +44,11 @@
endif
endif
-# Need to use source and target 7 for nasgen to work.
+# Need to use source and target 8 for nasgen to work.
$(eval $(call SetupJavaCompiler,GENERATE_NEWBYTECODE_DEBUG, \
JVM := $(JAVA), \
JAVAC := $(NEW_JAVAC), \
- FLAGS := -g -source 7 -target 7 -bootclasspath "$(JDK_CLASSES)", \
+ FLAGS := -g -source 8 -target 8 -bootclasspath "$(JDK_CLASSES)", \
SERVER_DIR := $(SJAVAC_SERVER_DIR), \
SERVER_JVM := $(SJAVAC_SERVER_JAVA)))