Build failure on Mac "javac: invalid flag"
Paul Sandoz
paul.sandoz at oracle.com
Fri Nov 16 01:40:06 PST 2012
Hi,
For some reason the following change to jdk/makefiles/Setup.gmk results in a build failure:
http://hg.openjdk.java.net/lambda/lambda/jdk/diff/a4c10f71e673/makefiles/Setup.gmk
Generating headers for jdk base classes
Compiling 886 files for BUILD_JOBJC_JAR
Compiling 886 files for BUILD_JOBJC_HEADERS_JAR
javac: invalid flag: -Xlint:all,-deprecation,-unchecked,-rawtypes,-cast,-serial,-dep-ann,-static,-fallthrough,-try,-varargs,-empty,-finally,-auxiliaryclass
Usage: javac <options> <source files>
use -help for a list of possible options
make[2]: *** [/Users/sandoz/Projects/jdk8/lambda/build/macosx-x86_64-normal-server-release/jdk/jobjc_classes/_the.batch] Error 2
Reverting the change fixed the problem for me.
Paul.
More information about the lambda-dev
mailing list