[PATCH FOR REVIEW]: Make source/target options explicit for MakeDeps and jvmti

Andrew John Hughes gnu_andrew at member.fsf.org
Fri Aug 21 10:46:35 PDT 2009

2009/8/21 David Holmes - Sun Microsystems <David.Holmes at sun.com>:
> John Coomes said the following on 08/21/09 10:41:
>> Dan mentioned the SA values in passing; my impression was he thought
>> they should be updated or removed.  I don't work with the SA, but I
>> suspect the settings are relics from using a boot jdk that had 1.3 as
>> a default when SA needed 1.4 features.  Anyone recall?
> Actually it's the opposite problem: it was to stop it from being compiled by
> JDK5 as target 1.5 code, to avoid all the generics-related warnings that you
> otherwise encounter with non-generified code. See CRs 5038934 and 5053732.

Those bug IDs are very sparse on information, so I don't know the
exact failure.  However, there are generics warnings still on just
about every piece of code in the JDK, together with some javadoc ones
too.  Using ecj (a very noisy compiler) produces over 16k warnings on
just the subset of the JDK pre-compiled by IcedTea for bootstrap

> So I suggest that this needs to be left as -source 1.4

I have in this webrev.  I'll look into these warnings further and see
if they can be fixed.

> Cheers,
> David

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 hotspot-dev mailing list