Bug#906785: version warping patch is overly aggressive

2018-08-21 Thread Emmanuel Bourg
Hi Bdale, On 21/08/2018 03:02, Bdale Garbee wrote: > The Debian ant package is built with a patch "0013-auto-adjust-target.patch" > that forces the Java target version number to 7. The utterly breaks the > ability to use Debian ant for building Java applications that get wrapped up > in

Bug#906785: version warping patch is overly aggressive

2018-08-21 Thread Markus Koschany
Am 21.08.2018 um 19:47 schrieb Keith Packard: [...] > We only discovered that ant was the source of trouble by comparing the > output of a project built using that and another project build using a > simple Makefile. > > If you're going to stop supporting older API versions, I'd suggest that >

Bug#906785: version warping patch is overly aggressive

2018-08-21 Thread Keith Packard
Markus Koschany writes: > 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

Bug#906785: version warping patch is overly aggressive

2018-08-21 Thread Markus Koschany
Am 21.08.2018 um 18:49 schrieb Bdale Garbee: > Markus Koschany 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

Bug#906785: version warping patch is overly aggressive

2018-08-21 Thread Bdale Garbee
Markus Koschany writes: > we all assumed that OpenJDK 11 will remove support for source/target > 1.6. After a discussion on the OpenJDK mailing list they decided to > postpone this change for OpenJDK 12. [1] Aha, that helps explain things. Thanks. > The current patch simplifies our packaging

Bug#906785: version warping patch is overly aggressive

2018-08-21 Thread Markus Koschany
Hi Bdale, we all assumed that OpenJDK 11 will remove support for source/target 1.6. After a discussion on the OpenJDK mailing list they decided to postpone this change for OpenJDK 12. [1] The current patch simplifies our packaging work because we don't have to manually fix packages that still

Bug#906785: version warping patch is overly aggressive

2018-08-20 Thread Bdale Garbee
Package: ant Version: 1.10.5-1 Severity: important The Debian ant package is built with a patch "0013-auto-adjust-target.patch" that forces the Java target version number to 7. The utterly breaks the ability to use Debian ant for building Java applications that get wrapped up in installer