Ah i see...

i just realised that i have been using 1.5 to compile (in Eclipse). Strange. My
workspace default have been set to 1.6 actually, but when i checked out the
Maven project, it set the environment to 1.5 instead (which i also have).



Regards,
Edwin



--- Emmanuel Lecharny <[EMAIL PROTECTED]> wrote:

> Edwin Lee wrote:
> > Thanks Emmanuel,
> >
> > it compiles alright now.
> >   
> FYI, this was pretty nasty : the @override annotation does not work the 
> same way with JVM 1.5 and 1.6 versions. 1.6 jvms consider that this 
> annotation can _also_ be used to describe methods that are not only 
> present in one of the parent classes, but also accept those methods 
> present in one of the implemented interface. 1.5 does not accept that, 
> leading the compiler to blow chunks...
> 
> It's now fixed, the fastest way : no more painfull annotations ;)
> 
> PS: I forgot to thanks Sun for the JVM API stability ... :/
> 
> -- 
> --
> cordialement, regards,
> Emmanuel Lécharny
> www.iktek.com
> directory.apache.org



      Get your preferred Email name!
Now you can @ymail.com and @rocketmail.com
http://mail.promotions.yahoo.com/newdomains/sg/

Reply via email to