make/common/SetupJavaCompilers.gmk
changeset 53023 6879069d9d94
parent 50892 a5557f24b4d4
child 54326 eb7f2c367f73
equal deleted inserted replaced
53022:ece620f32d2d 53023:6879069d9d94
    70 # The generate new bytecode javac setup uses the new compiler to compile for the
    70 # The generate new bytecode javac setup uses the new compiler to compile for the
    71 # new jdk. This new bytecode might only be possible to run using the new jvm.
    71 # new jdk. This new bytecode might only be possible to run using the new jvm.
    72 $(eval $(call SetupJavaCompiler,GENERATE_JDKBYTECODE, \
    72 $(eval $(call SetupJavaCompiler,GENERATE_JDKBYTECODE, \
    73     JVM := $(JAVA_JAVAC), \
    73     JVM := $(JAVA_JAVAC), \
    74     JAVAC := $(NEW_JAVAC), \
    74     JAVAC := $(NEW_JAVAC), \
    75     FLAGS := -source 12 -target 12 --doclint-format html5 \
    75     FLAGS := -source 13 -target 13 --doclint-format html5 \
    76         -encoding ascii -XDignore.symbol.file=true $(JAVAC_WARNINGS), \
    76         -encoding ascii -XDignore.symbol.file=true $(JAVAC_WARNINGS), \
    77     SERVER_DIR := $(SJAVAC_SERVER_DIR), \
    77     SERVER_DIR := $(SJAVAC_SERVER_DIR), \
    78     SERVER_JVM := $(SJAVAC_SERVER_JAVA)))
    78     SERVER_JVM := $(SJAVAC_SERVER_JAVA)))
    79 
    79 
    80 # The generate new bytecode javac setup uses the new compiler to compile for the
    80 # The generate new bytecode javac setup uses the new compiler to compile for the
    81 # new jdk. This new bytecode might only be possible to run using the new jvm.
    81 # new jdk. This new bytecode might only be possible to run using the new jvm.
    82 $(eval $(call SetupJavaCompiler,GENERATE_JDKBYTECODE_NOWARNINGS, \
    82 $(eval $(call SetupJavaCompiler,GENERATE_JDKBYTECODE_NOWARNINGS, \
    83     JVM := $(JAVA_JAVAC), \
    83     JVM := $(JAVA_JAVAC), \
    84     JAVAC := $(NEW_JAVAC), \
    84     JAVAC := $(NEW_JAVAC), \
    85     FLAGS := -source 12 -target 12 \
    85     FLAGS := -source 13 -target 13 \
    86         -encoding ascii -XDignore.symbol.file=true $(DISABLE_WARNINGS), \
    86         -encoding ascii -XDignore.symbol.file=true $(DISABLE_WARNINGS), \
    87     SERVER_DIR := $(SJAVAC_SERVER_DIR), \
    87     SERVER_DIR := $(SJAVAC_SERVER_DIR), \
    88     SERVER_JVM := $(SJAVAC_SERVER_JAVA)))
    88     SERVER_JVM := $(SJAVAC_SERVER_JAVA)))
    89 
    89 
    90 # After the jdk is built, we want to build demos using only the recently
    90 # After the jdk is built, we want to build demos using only the recently