changeset 1191:7477f3456800

8073560: Update BuildNashorn.gmk to require source/target 8 for jdk9 build Reviewed-by: sundar
author attila
date Fri, 20 Feb 2015 17:18:47 +0100
parents 2568a362d358
children 6cd23482ca9b
files make/BuildNashorn.gmk
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/make/BuildNashorn.gmk	Fri Feb 20 15:47:28 2015 +0100
+++ b/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)))