mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-03 15:08:24 +00:00
8073560: Update BuildNashorn.gmk to require source/target 8 for jdk9 build
Reviewed-by: sundar
This commit is contained in:
parent
0a6d13699b
commit
d76b6c183d
@ -44,11 +44,11 @@ ifdef MILESTONE
|
||||
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)))
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user