Javac default version
Joe Darcy
Joe.Darcy at Sun.COM
Thu Jun 14 12:11:14 PDT 2007
... and when a new release first comes out, the previous release is
always more widely used.
-Joe
Jonathan Gibbons wrote:
> Narayana,
>
> If you're compiling against the classes for Java 6, -target 6 is the
> right default. Anyone wanting to compile for the Java 5 platform
> should set -target 1.5 and should also set a matching bootclasspath, so
> that they don't accidentally use API only available in Java 6. That
> would not be reasonable for the OpenJDK compiler.
>
> -- Jon G
>
>
> Narayana Rallabandi wrote:
>> Hi,
>>
>> Is there any specific reason why the default compile target being set
>> to JDK 1.6 (com.sun.tools.javac.jvm.Taget)? I think still lot of users
>> are of JDK 1.5 only. It will be useful for them so that they do not
>> need to set the -target option every time.
>>
>> --
>> Thanks,
>> Narayanaa
>> Open ESB Community (http://open-esb.org)
>
More information about the compiler-dev
mailing list