equal
deleted
inserted
replaced
38 # and the interim javac, to be run by the boot jdk. |
38 # and the interim javac, to be run by the boot jdk. |
39 $(eval $(call SetupJavaCompiler,BOOT_JAVAC, \ |
39 $(eval $(call SetupJavaCompiler,BOOT_JAVAC, \ |
40 JAVAC := $(JAVAC), \ |
40 JAVAC := $(JAVAC), \ |
41 FLAGS := -XDignore.symbol.file=true -g -Xlint:all$(COMMA)-deprecation -Werror)) |
41 FLAGS := -XDignore.symbol.file=true -g -Xlint:all$(COMMA)-deprecation -Werror)) |
42 |
42 |
43 # Any java code executed during a JDK build to build other parts of the JDK must be |
43 # Any java code executed during a JDK build to build other parts of the JDK must be |
44 # executed by the bootstrap JDK (probably with -Xbootclasspath/p: ) and for this |
44 # executed by the bootstrap JDK (probably with -Xbootclasspath/p: ) and for this |
45 # purpose must be built with -target PREVIOUS for bootstrapping purposes, which |
45 # purpose must be built with -target PREVIOUS for bootstrapping purposes, which |
46 # requires restricting to language level and api of previous JDK. |
46 # requires restricting to language level and api of previous JDK. |
47 # |
47 # |
48 # The generate old bytecode javac setup uses the new compiler to compile for the |
48 # The generate old bytecode javac setup uses the new compiler to compile for the |
49 # boot jdk to generate tools that need to be run with the boot jdk. |
49 # boot jdk to generate tools that need to be run with the boot jdk. |
50 # Thus we force the target bytecode to the previous JDK version. |
50 # Thus we force the target bytecode to the previous JDK version. |