[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: What should I do on FTBFS on hppa against gcj?

Hash: SHA256

On 2010-09-01 12:14, Thomas Koch wrote:
> Hi,
> regarding Bug 594970[1], what should I do? The package FTBFS about an 
> @override annotation. Apperently @override is a little more complicate.[2]
> It seems, that gcj does implement @Override a little bit different.
> Now is this a bug in gcj or in my package? I checked my package's sourcecode. 
> AFAIK the class method
> public synchronized void close() throws IOException
> does indeed _IMPLEMENT_ the interface
> void close() throws IOException;
> and also eclipse does not see any problem with this.
> I thought, that hppa should also use openjdk? Can I just ignore the bug or 
> should I exclude hppa, can I build-conflict with gcj :-)?
> [1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=594970
> [2] http://blogs.sun.com/ahe/entry/override and 
>  http://blogs.sun.com/ahe/entry/override_snafu
> Thank you,
> Thomas Koch, http://www.koch.ro


I believe the semantics of @Override changed between 1.5 and 6; e.g. it
is acceptable to use @Override in 6 in some cases that is not in 1.5.
Have you tried asking eclipse to compile it as 1.5 source (by default it
will use 6 if you have openjdk-6 or sun-java6).


Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/


Reply to: