Bug#906785: version warping patch is overly aggressive

Markus Koschany apo at debian.org
Tue Aug 21 18:16:10 BST 2018


Am 21.08.2018 um 18:49 schrieb Bdale Garbee:
> Markus Koschany <apo at debian.org> writes:
[...]
>> I think the patch could be removed for OpenJDK 11 but should be applied
>> for OpenJDK 12 again. All build tools already emit a deprecation warning
>> for source/target 1.6, so developers and users should be aware of it,
>> and it is certain now that OpenJDK 11 will be the last JDK that supports
>> 1.6.
> 
> Ok.  While I personally continue to be concerned that the version
> warping in ant isn't a great idea generally, I understand the
> motivation behind it.
> 
> I'll personally be happy if ant doesn't enforce version warping more
> restrictive than the underlying javac requires.  In particular, if it
> allows us to continue to target Java 6 compatibility for the life of
> OpenJDK 11 in Debian, which I think would give us through the life of
> the Buster release cycle since as I think the plan is to ship 11 as the
> default-jdk for Buster? 

Yes, we will ship OpenJDK 11 as the default-jdk for Buster. I agree that
we shouldn't enforce stricter rules in Ant than necessary. We have
always taken care of to compile to bytecode that can be used with the
oldest supported version in Debian and at the moment this is OpenJDK 7.
I believe nobody has any objections against supporting even older
versions, as long as it is maintainable.

I'm waiting for Emmanuel to chime in now. Maybe I missed something
important. Otherwise I think we can resolve this issue rather quickly.
Since Ant isn't the only build system for Java, we probably should
change this for Maven too. We haven't implemented the same for Gradle
yet. [1]

Markus

[1] https://bugs.debian.org/894290

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-maintainers/attachments/20180821/09edceb4/attachment.sig>


More information about the pkg-java-maintainers mailing list