Re: What should I do on FTBFS on hppa against gcj?
-----BEGIN PGP SIGNED MESSAGE-----
On 2010-09-01 12:14, Thomas Koch wrote:
> regarding Bug 594970, what should I do? The package FTBFS about an
> @override annotation. Apperently @override is a little more complicate.
> 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 :-)?
>  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=594970
>  http://blogs.sun.com/ahe/entry/override and
> 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).
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
-----END PGP SIGNATURE-----