Bug#925225: gradle: Fix gradle compatibility with OpenJDK 8

Tiago Stürmer Daitx tiago.daitx at canonical.com
Thu Mar 21 13:29:17 GMT 2019


Package: gradle
Version: 4.4.1-5
Severity: normal

Dear Maintainer,

Since the fix for bug #909905 in gradle 4.4.1-1 it has been not possible
to run the generated binaries with OpenJDK 8.

The patch introduced in 4.4.1-1 was loosely based on the actual upstream
patch and - differently from upstream - it replaced OpenJDK 8 classloading
with OpenJDK 9+ classloading scheme. The upstream patch modified
classloading to _add_ OpenJDK 11 support. The 4.4.1-1 also modified
gradle's Depends: to java 9.

gradle 4.4.1 in itself is actually compatible with OpenJDK 8 and the
packaging just added the minimum support to build and run it with OpenJDK
11. Still, that shouldn't be done in a way to remove the possibility of
running gradle with OpenJDK 8.

Regards,
Tiago


-- System Information:
Debian Release: buster/sid
  APT prefers disco
  APT policy: (500, 'disco'), (400, 'disco-proposed')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-13-generic (SMP w/4 CPU cores)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled



More information about the pkg-java-maintainers mailing list