-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Mathieu Malaterre wrote: > I must be doing something wrong, but I do not see what is wrong with > the following piece of code (*). Is there a restriction when using ecj > as the java compiler ?
The manpage for ecj indicates that it is building with source level 1.4 by default. Covariant return types are a Java 5 feature. Try the -1.5 switch. Cheers, Marcus -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkpDLtAACgkQXjXn6TzcAQm8YgCg8ZcKdHYZJeKiYmP3FoY3T6iw JUgAn0V0id3NTCaIUuqrfxOiU4QKW+JR =GERG -----END PGP SIGNATURE----- _______________________________________________ pkg-java-maintainers mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers

