8073560: Update BuildNashorn.gmk to require source/target 8 for jdk9 build
authorattila
Fri, 20 Feb 2015 17:18:47 +0100
changeset 29134 7242c750aa76
parent 29133 1cd7d8af99ba
child 29135 1582f6df75ee
8073560: Update BuildNashorn.gmk to require source/target 8 for jdk9 build Reviewed-by: sundar
nashorn/make/BuildNashorn.gmk
--- 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)))