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

Martin Buchholz martinrb at google.com
Fri Aug 21 13:53:34 PDT 2009


On Fri, Aug 21, 2009 at 10:42, Andrew John Hughes <gnu_andrew at member.fsf.org
> wrote:

>
> You can see it working for 6-8 years as both a positive and a
> negative; the variance in boot JDK has clearly been quite small in
> this time period as no-one has tried building with a compiler that has
> a default below the minimum required to compile the code.


If you are wearing your "extreme compatibility" hat,
then you might think there is nothing wrong with ancient
source files, and -source 1.0 is perfectly fine, and
a java compiler that does not implement -source 1.0
is broken, in the same way that a java platform
that doesn't implement all the library classes is broken.
One might even think that leaving a few -source 1.0
in the jdk sources is a kind of sanity test, that checks
that the bootstrap jdk is a "real" jdk.  Incrementing -target
to more recent levels has more justification, but there again
leaving a few -target 1.0 .class files in rt.jar is a good way
to ensure that jdk tools don't forget about compatibility.
Compatibility is very annoying, but highly valued by real users.

Martin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/hotspot-dev/attachments/20090821/19f84ac8/attachment.html 


More information about the hotspot-dev mailing list