Simple covariant return type

Onkar Shinde onkarshinde at
Thu Jun 25 10:14:30 UTC 2009

On Thu, Jun 25, 2009 at 3:07 PM, Marcus Better<marcus at> wrote:
> Mathieu Malaterre wrote:
>> So my question: is it ok for package maintainer to use javac -source
>> 1.5 to compile code or will there be some portability glitch (user is
>> alowed to set other java compiler).
> 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'.

By the way, I am not sure why you are using ecj as compiler. I believe
GCJ/OpenJDK are the preferred compilers these days.


More information about the pkg-java-maintainers mailing list