Simple covariant return type

Mathieu Malaterre mathieu.malaterre at gmail.com
Thu Jun 25 11:31:27 UTC 2009


On Thu, Jun 25, 2009 at 12:14 PM, Onkar Shinde<onkarshinde at ubuntu.com> wrote:
> On Thu, Jun 25, 2009 at 3:07 PM, Marcus Better<marcus at better.se> 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.
>
> Mathieu,
>
> 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'.

Ok, no problem !

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

I do not have the slightest idea. this goes way beyond my
understanding of the automatic building of package (buildd) mechanism.
I simply need something that works to get my package uploaded :)


Thanks !
-- 
Mathieu



More information about the pkg-java-maintainers mailing list