[Bug 1820389] Re: Gradle on OpenJDK 8: java.lang.NoSuchMethodError: java.lang.invoke.MethodHandles.privateLookupIn()

2019-04-16 Thread Launchpad Bug Tracker
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

[Bug 1820389] Re: Gradle on OpenJDK 8: java.lang.NoSuchMethodError: java.lang.invoke.MethodHandles.privateLookupIn()

2019-04-16 Thread Launchpad Bug Tracker
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

[Bug 1820389] Re: Gradle on OpenJDK 8: java.lang.NoSuchMethodError: java.lang.invoke.MethodHandles.privateLookupIn()

2019-03-20 Thread Andreas Schildbach
See https://bugs.launchpad.net/ubuntu/+source/gradle/+bug/1797761 for the remaining issue with the alternative dependency declaration. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1820389 Title:

[Bug 1820389] Re: Gradle on OpenJDK 8: java.lang.NoSuchMethodError: java.lang.invoke.MethodHandles.privateLookupIn()

2019-03-20 Thread Andreas Schildbach
I rebooted my machine and now everything works. Not sure where the old code was hiding. ** Tags removed: verification-failed-bionic ** Tags added: verification-done-bionic -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1820389] Re: Gradle on OpenJDK 8: java.lang.NoSuchMethodError: java.lang.invoke.MethodHandles.privateLookupIn()

2019-03-19 Thread Tiago Stürmer Daitx
I can't reproduce this. In an empty directory I get: $ mkdir empty $ cd empty $ gradle --stacktrace --debug -g /tmp clean 18:33:49.406 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] FAILURE: Build failed with an exception. 18:33:49.406 [ERROR]

[Bug 1820389] Re: Gradle on OpenJDK 8: java.lang.NoSuchMethodError: java.lang.invoke.MethodHandles.privateLookupIn()

2019-03-19 Thread Andreas Schildbach
@Tiago: I just tried and the smallest possible project is the empty directory. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1820389 Title: Gradle on OpenJDK 8: java.lang.NoSuchMethodError:

[Bug 1820389] Re: Gradle on OpenJDK 8: java.lang.NoSuchMethodError: java.lang.invoke.MethodHandles.privateLookupIn()

2019-03-19 Thread Launchpad Bug Tracker
This bug was fixed in the package gradle - 4.4.1-5ubuntu1 --- 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

[Bug 1820389] Re: Gradle on OpenJDK 8: java.lang.NoSuchMethodError: java.lang.invoke.MethodHandles.privateLookupIn()

2019-03-19 Thread Andreas Schildbach
This is about Bionic again. Thanks for mentioning the daemon. I ran $ gradle --no-daemon --stacktrace clean The full exception is: java.lang.ExceptionInInitializerError at org.gradle.internal.classloader.FilteringClassLoader.(FilteringClassLoader.java:48) at

[Bug 1820389] Re: Gradle on OpenJDK 8: java.lang.NoSuchMethodError: java.lang.invoke.MethodHandles.privateLookupIn()

2019-03-19 Thread Tiago Stürmer Daitx
Also, we need a reproducer for this. Could you please check the smallest gradle project, with no external dependencies, that fails under test and report back on how to get it? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1820389] Re: Gradle on OpenJDK 8: java.lang.NoSuchMethodError: java.lang.invoke.MethodHandles.privateLookupIn()

2019-03-19 Thread Tiago Stürmer Daitx
** Description changed: - [Impact] + [Impact] gradle cannot be run with openjdk-8 after the update to 4.4.1-5~18.04 (bionic-proposed) or 4.4.1-5~18.10 (cosmic-proposed). When running it with openjdk-8 gradle fails with $ gradle -g /tmp --debug --stacktrace --foreground - Caused

[Bug 1820389] Re: Gradle on OpenJDK 8: java.lang.NoSuchMethodError: java.lang.invoke.MethodHandles.privateLookupIn()

2019-03-19 Thread Andreas Schildbach
On Ubuntu Cosmic, I installed gradle 4.4.1-5~18.10.1, also moved ~/.gradle out of the way and used update-java-alternatives to make OpenJDK 8 the default. I tested 3 Java and 2 Android projects and all build fine. There are some additional warnings about features that will be removed with Gradle

[Bug 1820389] Re: Gradle on OpenJDK 8: java.lang.NoSuchMethodError: java.lang.invoke.MethodHandles.privateLookupIn()

2019-03-19 Thread Tiago Stürmer Daitx
Please rerun it with the --foreground option as it should show what is going on with the daemon. Without that the daemon starts on the background and you will only see the exception from the failure about interacting with the daemon. The --debug option might also help as it shows how the daemon

[Bug 1820389] Re: Gradle on OpenJDK 8: java.lang.NoSuchMethodError: java.lang.invoke.MethodHandles.privateLookupIn()

2019-03-19 Thread Andreas Schildbach
I just installed gradle 4.4.1-5~18.04 and moved ~/.gradle to ~/.gradle.bak (actually it's a dangerous suggestion to remove that directory, because it can contain user settings). Issue 1: The hard dependency to OpenJDK 11 is still there. I can't uninstall OpenJDK 11 without uninstalling gradle.

[Bug 1820389] Re: Gradle on OpenJDK 8: java.lang.NoSuchMethodError: java.lang.invoke.MethodHandles.privateLookupIn()

2019-03-19 Thread Łukasz Zemczak
Hello Goonie, or anyone else affected, Accepted gradle into cosmic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/gradle/4.4.1-5~18.10.1 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See

[Bug 1820389] Re: Gradle on OpenJDK 8: java.lang.NoSuchMethodError: java.lang.invoke.MethodHandles.privateLookupIn()

2019-03-19 Thread Łukasz Zemczak
Hello Goonie, or anyone else affected, Accepted gradle into bionic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/gradle/4.4.1-5~18.04.1 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See

[Bug 1820389] Re: Gradle on OpenJDK 8: java.lang.NoSuchMethodError: java.lang.invoke.MethodHandles.privateLookupIn()

2019-03-19 Thread Andreas Schildbach
Thanks a lot! I'm happy to test any new proposed packages and will report back the findings. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1820389 Title: Gradle on OpenJDK 8:

[Bug 1820389] Re: Gradle on OpenJDK 8: java.lang.NoSuchMethodError: java.lang.invoke.MethodHandles.privateLookupIn()

2019-03-18 Thread Tiago Stürmer Daitx
We have a fix for this issue, it is pending some internal review. I expect it to be available in the proposed pocket in less than a day. An automated message will be added to this bug when it is available for testing, we would highly appreciate any testing and reports on the fix. Please notice

[Bug 1820389] Re: Gradle on OpenJDK 8: java.lang.NoSuchMethodError: java.lang.invoke.MethodHandles.privateLookupIn()

2019-03-18 Thread Tiago Stürmer Daitx
** Description changed: - Just tried the proposed Gradle package on Ubuntu 18.04 LTS. As I cannot - yet use OpenJDK 11, I switched all Java alternatives back to OpenJDK 8 - using + [Impact] + gradle cannot be run with openjdk-8 after the update to 4.4.1-5~18.04 (bionic-proposed) or

[Bug 1820389] Re: Gradle on OpenJDK 8: java.lang.NoSuchMethodError: java.lang.invoke.MethodHandles.privateLookupIn()

2019-03-18 Thread Steve Langasek
** Tags added: regression-proposed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1820389 Title: Gradle on OpenJDK 8: java.lang.NoSuchMethodError: java.lang.invoke.MethodHandles.privateLookupIn()

[Bug 1820389] Re: Gradle on OpenJDK 8: java.lang.NoSuchMethodError: java.lang.invoke.MethodHandles.privateLookupIn()

2019-03-18 Thread Brian Murray
** Tags added: bot-stop-nagging -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1820389 Title: Gradle on OpenJDK 8: java.lang.NoSuchMethodError: java.lang.invoke.MethodHandles.privateLookupIn() To

[Bug 1820389] Re: Gradle on OpenJDK 8: java.lang.NoSuchMethodError: java.lang.invoke.MethodHandles.privateLookupIn()

2019-03-18 Thread Andreas Schildbach
@Tiago But can this be fixed *before* Gradle 4.4.1 is released to bionic-updates? I expect this will break many setups, certainly not what you'd expect for a LTS release. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1820389] Re: Gradle on OpenJDK 8: java.lang.NoSuchMethodError: java.lang.invoke.MethodHandles.privateLookupIn()

2019-03-18 Thread Tiago Stürmer Daitx
Thank you for taking the time to report this bug and helping to make Ubuntu better. The important error in the log is: Caused by: java.lang.NoSuchMethodError:

[Bug 1820389] Re: Gradle on OpenJDK 8: java.lang.NoSuchMethodError: java.lang.invoke.MethodHandles.privateLookupIn()

2019-03-17 Thread Andreas Schildbach
I just compared the Gradle 4.4.1 in bionic-proposed against a manually installed Gradle 4.4.1. The manual install doesn't have this bug! For reference: $ gradle --version Gradle 4.4.1

[Bug 1820389] Re: Gradle on OpenJDK 8: java.lang.NoSuchMethodError: java.lang.invoke.MethodHandles.privateLookupIn()

2019-03-17 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: gradle (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1820389 Title: