-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Onkar Shinde wrote:
>>> So my question: is it ok for package maintainer to use javac -source
>>> 1.5 to compile code

>> It's certainly OK, even necessary in this case.

> Please make sure that the package dependencies reflect that the
> package is built with source version 1.5. This can be done by
> specifying the dependency 'java5-runtime'.

I don't think this is needed if covariant return types are the only Java
 5 feature used as this is only a Java language feature, but I might be
wrong here. You can try by compiling with -target 1.4.

Cheers,

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

iEYEARECAAYFAkpDUVMACgkQXjXn6TzcAQnt9ACgukqqHCYN8vdl6c2tF2dWoMHR
HmEAn0flGVSrMUqfLiW/qHCLSQjMifNN
=nTj5
-----END PGP SIGNATURE-----

_______________________________________________
pkg-java-maintainers mailing list
pkg-java-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers

Reply via email to