Bug#909905: gradle FTBFS when building with openjdk-11 (needs update to 4.7.0 or upstream patch)

2018-10-01 Thread shirish शिरीष
at bottom :- On 02/10/2018, Emmanuel Bourg wrote: > Le 01/10/2018 à 19:37, shirish शिरीष a écrit : > >> So are we going to have gradle 4.8 in either experimental or unstable >> soonish. > > Unfortunately no. Starting with version 4.5 Gradle requires Kotlin, and > we are nowhere near having

Bug#909905: gradle FTBFS when building with openjdk-11 (needs update to 4.7.0 or upstream patch)

2018-10-01 Thread Tiago Daitx
Updated patch to include the missing DEP-3 headers and to remove the test files. On Mon, Oct 1, 2018 at 9:52 PM Tiago Daitx wrote: > > I have updated the patch to include 3 additional commits from > upstream, this fixes the build with openjdk-11 and stops gradle from > FTBFS. > > The last applied

Bug#909905: gradle FTBFS when building with openjdk-11 (needs update to 4.7.0 or upstream patch)

2018-10-01 Thread Tiago Daitx
I have updated the patch to include 3 additional commits from upstream, this fixes the build with openjdk-11 and stops gradle from FTBFS. The last applied patch [1], which actually gets rid of the "NoSuchMethodError: sun.misc.Unsafe.defineClass" error, required me to remove the kotlin classes and

Bug#909905: gradle FTBFS when building with openjdk-11 (needs update to 4.7.0 or upstream patch)

2018-10-01 Thread Emmanuel Bourg
Le 01/10/2018 à 19:37, shirish शिरीष a écrit : > So are we going to have gradle 4.8 in either experimental or unstable soonish. Unfortunately no. Starting with version 4.5 Gradle requires Kotlin, and we are nowhere near having Kotlin in Debian. It's more likely we'll instead patch Gradle 4.4 and

Bug#909905: gradle FTBFS when building with openjdk-11 (needs update to 4.7.0 or upstream patch)

2018-10-01 Thread shirish शिरीष
at bottom :- On 01/10/2018, Emmanuel Bourg wrote: > Le 01/10/2018 à 11:48, Emmanuel Bourg a écrit : > >> Thanks a lot for investigating this issue Tiago. I'll apply the patch. > > The fix for the Java version parsing issue can be reduced to: > > --- >

Bug#909905: gradle FTBFS when building with openjdk-11 (needs update to 4.7.0 or upstream patch)

2018-10-01 Thread Emmanuel Bourg
Le 01/10/2018 à 11:48, Emmanuel Bourg a écrit : > Thanks a lot for investigating this issue Tiago. I'll apply the patch. The fix for the Java version parsing issue can be reduced to: --- a/subprojects/base-services/src/main/java/org/gradle/api/JavaVersion.java +++

Bug#909905: gradle FTBFS when building with openjdk-11 (needs update to 4.7.0 or upstream patch)

2018-10-01 Thread Emmanuel Bourg
Le 29/09/2018 à 21:41, Tiago Daitx a écrit : > Please consider the attached patch which applies the upstream patch [1]. Thanks a lot for investigating this issue Tiago. I'll apply the patch. Emmanuel Bourg

Bug#909905: gradle FTBFS when building with openjdk-11 (needs update to 4.7.0 or upstream patch)

2018-09-29 Thread Tiago Daitx
Please consider the attached patch which applies the upstream patch [1]. References: [1] https://github.com/gradle/gradle/commit/ac15612d41b43c39c8e39d12fdd6621589b0f782 On Sat, Sep 29, 2018 at 8:33 PM Tiago Stürmer Daitx wrote: > > Package: gradle > Version: 4.4-2 > Severity: normal > > Dear

Bug#909905: gradle FTBFS when building with openjdk-11 (needs update to 4.7.0 or upstream patch)

2018-09-29 Thread Tiago Stürmer Daitx
Package: gradle Version: 4.4-2 Severity: normal Dear Maintainer, gradle 4.4-2 currently FTBFS when build with openjdk-11. * Exception is: java.lang.IllegalArgumentException: Could not determine java version from '11'. at org.gradle.api.JavaVersion.toVersion(JavaVersion.java:72)