changeset 26548 | 3b002da2aee1 |
parent 26115 | 7a9dc384f3c8 |
child 27595 | cff167b3bfa2 |
child 27560 | adc258b13e2c |
26547:f8b190ea8955 | 26548:3b002da2aee1 |
---|---|
31 DISABLE_WARNINGS := -Xlint:all,-deprecation,-unchecked,-rawtypes,-cast,-serial,-dep-ann,-static,-fallthrough,-try,-varargs,-empty,-finally |
31 DISABLE_WARNINGS := -Xlint:all,-deprecation,-unchecked,-rawtypes,-cast,-serial,-dep-ann,-static,-fallthrough,-try,-varargs,-empty,-finally |
32 |
32 |
33 # To build with all warnings enabled, do the following: |
33 # To build with all warnings enabled, do the following: |
34 # make JAVAC_WARNINGS="-Xlint:all -Xmaxwarns 10000" |
34 # make JAVAC_WARNINGS="-Xlint:all -Xmaxwarns 10000" |
35 JAVAC_WARNINGS := -Xlint:all,-deprecation -Werror |
35 JAVAC_WARNINGS := -Xlint:all,-deprecation -Werror |
36 |
|
37 # The BOOT_JAVAC setup uses the boot jdk compiler to compile the tools |
|
38 # and the interim javac, to be run by the boot jdk. |
|
39 $(eval $(call SetupJavaCompiler,BOOT_JAVAC, \ |
|
40 JAVAC := $(JAVAC), \ |
|
41 FLAGS := -XDignore.symbol.file=true -g -Xlint:all$(COMMA)-deprecation -Werror)) |
|
36 |
42 |
37 # 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 |
38 # 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 |
39 # purpose must be built with -target PREVIOUS for bootstrapping purposes, which |
45 # purpose must be built with -target PREVIOUS for bootstrapping purposes, which |
40 # requires restricting to language level and api of previous JDK. |
46 # requires restricting to language level and api of previous JDK. |