Bug#873227: Please upgrade to 4.1: Java 9 support

Tiago Daitx tiago.daitx at canonical.com
Wed Mar 21 09:26:53 UTC 2018


Please see the attached debdiff to enable some basic OpenJDK 9 support
for gradle 3.4.1. The patches were downloaded from gradle upstream to
prevent the dreadful "Could not determine java version from '9.0.x'".

After applying the patches and rebuilding with OpenJDK 8, gradle can
then build itself with openjdk 9. I have also rebuild groovy, gant,
spock (FTBFS due to source/target 1.5), and dom4j (FTBFS due to
failing tests) which all previously failed.

Hopefully this should unblock #875336.

Please note that the debdiff includes the fix for #893487 for convenience.

thanks

On Fri, 25 Aug 2017 17:01:23 +0100 Chris West
<solo-debianbugs at goeswhere.com> wrote:
> Source: gradle
> Version: 3.2.1-1
> Severity: normal
> User: debian-java at lists.debian.org
> Usertags: default-java9
>
> Gradle doesn't officially support running under Java 9 until 4.1, which
> was released a fortnight ago.
>
> The version in Debian seems to actually be much better at surviving real
> builds than other random versions of Gradle I have lying around, but it
> would still be nice totally eliminate this as a java-9 blocker.
>
> Cheers,
> Chris.
>
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gradle_3.4.1-2_debdiff_3.4.1-3.patch
Type: text/x-patch
Size: 16866 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20180321/45cfa846/attachment.bin>


More information about the pkg-java-maintainers mailing list