[PATCH FOR REVIEW]: Make source/target options explicit for def-pcompile

Andrew John Hughes gnu_andrew at member.fsf.org
Tue Aug 18 04:36:55 PDT 2009

The def-pcompile Ant target in the langtools build does not explicitly
set the source and target options for javac.  As a result, the class
files will be built using the default versions of the javac forked by
Ant.  If this is < 1.5, the build will fail (this is the case with
ecj, for example).

The webrev:


fixes this by making the values explicit (using the boot source and
target values, currently 1.6).

Ok to push to tl?

Andrew :-)

Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)

Support Free Java!
Contribute to GNU Classpath and the OpenJDK

PGP Key: 94EFD9D8 (http://subkeys.pgp.net)
Fingerprint: F8EF F1EA 401E 2E60 15FA  7927 142C 2591 94EF D9D8

More information about the compiler-dev mailing list