-----BEGIN PGP SIGNED MESSAGE-----
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
> 
> 

Hi

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).

~Niels

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

iEYEAREIAAYFAkx+wyEACgkQVCqoiq1YlqwsTQCfTY69dA48oZRddBQMh+h5FUPK
XPEAoIXwXxYqKg6gMzaj4yL3e9zHb755
=qtPq
-----END PGP SIGNATURE-----


-- 
To UNSUBSCRIBE, email to debian-java-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4c7ec322.1090...@thykier.net

Reply via email to