On ecj and @Override annotations for interface methods
Joseph D. Darcy
Joe.Darcy at Sun.COM
Thu Sep 18 07:11:07 PDT 2008
C. K. Jester-Young wrote:
> On Thu, Sep 18, 2008 at 12:39:14PM +0100, Andrew John Hughes wrote:
>
>> That's what I thought, but if it can't be used with a target of 1.5, then
>> we need to just strip these things in javac.in as you suggested.
>>
>
> Yeah, I'm starting to be convinced that that's the proper course of
> action. Between not being able to mix-and-match -source and -target,
> and Mark's message about OpenJDK not accepting -source 1.6, I think
> it's all too much of a mess. :-P
>
OpenJDK 6 (and Sun's "ClosedJDK" 6 releases) certainly do accept
"-source 1.6" and "-source 6" options:
http://java.sun.com/javase/6/docs/technotes/tools/solaris/javac.html
(In javac, there is another small behavioral difference with source 1.6
vs 1.5 too; encoding errors in files are treated as errors instead of
warnings.)
-Joe
More information about the distro-pkg-dev
mailing list