Gradle 4.4.1 package missing alternative dep to Java8

Bug #1797761 reported by Andreas Schildbach
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
gradle (Debian)
Fix Released
Unknown
gradle (Ubuntu)
Fix Released
Undecided
Unassigned
Bionic
Fix Released
Undecided
Unassigned
Cosmic
Fix Released
Undecided
Unassigned

Bug Description

Please provide the (alternative) dependency to openjdk-8-jre-headless again like the Bionic package did. For a lot of developers Java8 still matters (Android developers for example), and forcing them to install the Java11 packages always leads to compatibility problems.

summary: - Gradle 4.4.1 package (missing) missing alternative dep to Java8
+ Gradle 4.4.1 package missing alternative dep to Java8
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gradle (Ubuntu):
status: New → Confirmed
Revision history for this message
Andreas Schildbach (schildbach) wrote :

I tested all my projects in the Gradle 4.4.1 / OpenJDK 8 combination and I can say it's compatible. So there is no reason to not allow an alternative dependency to OpenJDK 8.

For more information see issue 1820389.

Revision history for this message
Andreas Schildbach (schildbach) wrote :

#1820389

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gradle - 4.4.1-5ubuntu2

---------------
gradle (4.4.1-5ubuntu2) disco; urgency=medium

  * debian/control: revert gradle Depends back to java 8 as the previous
    update fixed java 8 compatibility and allowed gradle to be run with
    openjdk-8. (LP: #1797761)

 -- Tiago Stürmer Daitx <email address hidden> Thu, 21 Mar 2019 01:46:06 +0000

Changed in gradle (Ubuntu):
status: Confirmed → Fix Released
Changed in gradle (Ubuntu Bionic):
status: New → Fix Committed
Changed in gradle (Ubuntu Cosmic):
status: New → Fix Committed
Revision history for this message
Andreas Schildbach (schildbach) wrote :

Cool, thanks! Works well so far (both Bionic and Cosmic).

Changed in gradle (Debian):
status: Unknown → New
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (4.7 KiB)

This bug was fixed in the package gradle - 4.4.1-5ubuntu2~18.04

---------------
gradle (4.4.1-5ubuntu2~18.04) bionic; urgency=medium

  * Backport from Disco. (LP: #1814133)

gradle (4.4.1-5ubuntu2) disco; urgency=medium

  * debian/control: revert gradle Depends back to java 8 as the previous
    update fixed java 8 compatibility and allowed gradle to be run with
    openjdk-8. (LP: #1797761)

gradle (4.4.1-5ubuntu1) disco; urgency=medium

   * Fix OpenJDK 8 compatibility: (LP: #1820389)
     - debian/patches/java8-compatibility.patch: cast ByteBuffer to Buffer
       in org.gradle.internal.hash.Hashing to prevent NoSuchMethodError
       exception.
     - debian/patches/java11-compatibility.patch: copy upstream commit for
       "Use Lookup to invoke defineClass on Java 9+ (#4976)" instead using
       the previous partial backport to enable both OpenJDK 8 and 11 support.

gradle (4.4.1-5) unstable; urgency=medium

  * Team upload.
  * Generate a very basic manpage in POD format.
  * Use ASM7 instead of ASM6 to better support Java 11 (Closes: #923284).
  * Bump libasm-java dependency to 7.0.

gradle (4.4.1-4) unstable; urgency=medium

  * Team upload.
  * Removed the unused dependency on libtomcat8-java
  * Standards-Version updated to 4.3.0

gradle (4.4.1-3) unstable; urgency=medium

  * Team upload.
  * Add build-dep on libjaxp1.3-java (addresses FTBFS)

gradle (4.4.1-2) unstable; urgency=medium

  * Improve OpenJDK 11 support by backporting additional changes from upstream
    (commit ac15612d41b43c39c).

gradle (4.4.1-1) unstable; urgency=medium

  * Team upload.
  * New upstream release
    - Refreshed the patches
  * Fixed the build failure with Java 11 (Closes: #909905)
  * Depend on Java 9+

gradle (4.4-3) unstable; urgency=medium

  * Team upload.
  * Fixed the build failure with asm/6.2.1

gradle (4.4-2) unstable; urgency=medium

  * Team upload.
  * Upload to unstable
  * Updated the gradle-debian-helper-hook patch for Gradle 4.4
  * Added a system property to disable the gradle-debian-helper hook
  * Declare that Gradle 4.4 breaks gradle-debian-helper (<< 2.0~)
  * Declare that libgradle-plugins-java breaks libgradle-core-java < 4.4
    (Closes: #903775)

gradle (4.4-1) experimental; urgency=medium

  * New upstream release
  * Remove 2 additional source files that are no longer needed
    * jQuery.tipTip.js -- No longer build User Guide
    * all-released-versions.js -- Included in upstream
  * Add prebuilt files:
    * api-mapping.txt default-imports.txt -- They will be built from this
      package once this version is uploaded.
    * oss-parent-debian.pom -- Bypass the error (#899005) resolving `findbugs`
  * Move `gradle-wrapper` from `libgradle-plugins-java` to
    `libgradle-core-java` to be consistent with upstream.
  * Remove obsolete patches:
    * add-test-case-for-10-internal_c1fe5e40a76b.patch
    * commons-io.patch
    * dependency-management_depends_on_testkit.patch
    * disallow-both-module-source-path-and-source-path.patch
    * Groovy_projects_depends_on_localGroovy.patch
    * jansi.patch
    * nekohtml.patch
    * new_APIs_in_3.0.patch
    * support-running-gradle-on-jdk-10-500485df3a18.patch
    * support-...

Read more...

Changed in gradle (Ubuntu Bionic):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gradle - 4.4.1-5ubuntu2~18.10

---------------
gradle (4.4.1-5ubuntu2~18.10) cosmic; urgency=medium

  * Backport from Disco. (LP: #1814133)

gradle (4.4.1-5ubuntu2) disco; urgency=medium

  * debian/control: revert gradle Depends back to java 8 as the previous
    update fixed java 8 compatibility and allowed gradle to be run with
    openjdk-8. (LP: #1797761)

gradle (4.4.1-5ubuntu1) disco; urgency=medium

   * Fix OpenJDK 8 compatibility: (LP: #1820389)
     - debian/patches/java8-compatibility.patch: cast ByteBuffer to Buffer
       in org.gradle.internal.hash.Hashing to prevent NoSuchMethodError
       exception.
     - debian/patches/java11-compatibility.patch: copy upstream commit for
       "Use Lookup to invoke defineClass on Java 9+ (#4976)" instead using
       the previous partial backport to enable both OpenJDK 8 and 11 support.

gradle (4.4.1-5) unstable; urgency=medium

  * Team upload.
  * Generate a very basic manpage in POD format.
  * Use ASM7 instead of ASM6 to better support Java 11 (Closes: #923284).
  * Bump libasm-java dependency to 7.0.

gradle (4.4.1-4) unstable; urgency=medium

  * Team upload.
  * Removed the unused dependency on libtomcat8-java
  * Standards-Version updated to 4.3.0

gradle (4.4.1-3) unstable; urgency=medium

  * Team upload.
  * Add build-dep on libjaxp1.3-java (addresses FTBFS)

gradle (4.4.1-2) unstable; urgency=medium

  * Improve OpenJDK 11 support by backporting additional changes from upstream
    (commit ac15612d41b43c39c).

 -- Tiago Stürmer Daitx <email address hidden> Thu, 21 Mar 2019 12:31:32 +0000

Changed in gradle (Ubuntu Cosmic):
status: Fix Committed → Fix Released
Changed in gradle (Debian):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.