[FTBFS] gradle ftbfs when built with openjdk-11

Bug #1795767 reported by Tiago Stürmer Daitx
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gradle (Debian)
Fix Released
Unknown
gradle (Ubuntu)
Fix Released
Critical
Unassigned

Bug Description

gradle 4.4-3 FTBFS when built with openjdk-11. Only gradle 4.8 added support for being built with openjdk-11 but as of gradle 4.5 it requires kotlin for the build which is not yet packaged in either Debian or Ubuntu.

The proposed patch backports 4 commits that allows gradle to be build with opendk-11. Gradle must first be bootstrapped with openjdk-10, then the resulting binaries can be used to build gradle with openjdk-11 - which is fine archive wise since we still use openjdk-10 as the default-jdk.

Please consider applying the proposed delta to enable the openjdk-11 migration.

Revision history for this message
Tiago Stürmer Daitx (tdaitx) wrote :
tags: added: ftbfs
Changed in gradle (Ubuntu):
importance: Undecided → Critical
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gradle - 4.4-3ubuntu1

---------------
gradle (4.4-3ubuntu1) cosmic; urgency=medium

  * Enable support for openjdk-11 (Closes: #909905, LP: #1795767)
    - debian/patches/enable-jdk-11-support-ac15612d41b43c39c.patch:
      enable support for openjdk-11.
    - d/p/use-lookup-to-invoke-defineclass-java-9-028548460bd929fd.patch:
      Use Lookup to invoke defineClass on Java 9+.
    - d/p/do-not-use-classLoader-getdefinedpackages-on-java-9-50eababaa25230ab.patch:
      Don't use ClassLoader.getDefinedPackages() on Java 9.
    - d/p/use-lookup-instead-of-reflection-on-java-9-3db6e25698705317.path:
      Use Lookup instead of reflection on Java 9+.

 -- Tiago Stürmer Daitx <email address hidden> Mon, 01 Oct 2018 19:05:23 +0000

Changed in gradle (Ubuntu):
status: New → Fix Released
Changed in gradle (Debian):
status: Unknown → 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.