Bug#895619: plexus-compiler: use --release instead of -source/-target for jdk9+ when setting defaults

2018-04-13 Thread Emmanuel Bourg
Thank you for the patch Tiago. "1.7" is repeated many time, that might be nice to put it in a variable so we can update the patch easily in the future. Emmanuel __ This is the maintainer address of Debian's Java team .

Bug#895619: plexus-compiler: use --release instead of -source/-target for jdk9+ when setting defaults

2018-04-13 Thread Tiago Daitx
Please consider the attached debdiff for review. On why it is important to use --release instead of the usual -source/-target: any package that is not build with it can run into those incompatibilities at runtime when run with an older (but targeted) release. As a lot of libraries are being build

Bug#895619: plexus-compiler: use --release instead of -source/-target for jdk9+ when setting defaults

2018-04-13 Thread Tiago Stürmer Daitx
Source: plexus-compiler Version: 2.8.2-5 Severity: normal Dear Maintainer, plexus-compiler currently will default -source and/or -target to 1.7 whenever the following occours: 1) whenever either has not being set 2) whenever either has been set to 1.6 or earlier This patch modifies the