jdk/makefiles/Setup.gmk
changeset 21311 38a542941f75
parent 20884 66f924cdfeb9
equal deleted inserted replaced
21307:d9d1ad598db1 21311:38a542941f75
    25 
    25 
    26 DISABLE_WARNINGS := -Xlint:all,-deprecation,-unchecked,-rawtypes,-cast,-serial,-dep-ann,-static,-fallthrough,-try,-varargs,-empty,-finally
    26 DISABLE_WARNINGS := -Xlint:all,-deprecation,-unchecked,-rawtypes,-cast,-serial,-dep-ann,-static,-fallthrough,-try,-varargs,-empty,-finally
    27 
    27 
    28 # To build with all warnings enabled, do the following:
    28 # To build with all warnings enabled, do the following:
    29 # make JAVAC_WARNINGS="-Xlint:all -Xmaxwarns 10000"
    29 # make JAVAC_WARNINGS="-Xlint:all -Xmaxwarns 10000"
    30 JAVAC_WARNINGS := -Xlint:-unchecked,-deprecation,-overrides,classfile,dep-ann,divzero,varargs -Werror
    30 JAVAC_WARNINGS := -Xlint:-unchecked,-deprecation,-overrides,auxiliaryclass,classfile,dep-ann,divzero,empty,try,varargs -Werror
    31 
    31 
    32 # Any java code executed during a JDK build to build other parts of the JDK must be 
    32 # Any java code executed during a JDK build to build other parts of the JDK must be 
    33 # executed by the bootstrap JDK (probably with -Xbootclasspath/p: ) and for this 
    33 # executed by the bootstrap JDK (probably with -Xbootclasspath/p: ) and for this 
    34 # purpose must be built with -target PREVIOUS for bootstrapping purposes, which 
    34 # purpose must be built with -target PREVIOUS for bootstrapping purposes, which 
    35 # requires restricting to language level and api of previous JDK.
    35 # requires restricting to language level and api of previous JDK.