Closed helospark closed 4 years ago
Thanks for reporting this issue. I will have a look at it asap. And thanks for the solution proposals, I think the conditional usage seems to be practicable.
Issue #88 has been fixed and published with latest version
Background
I'm getting the following exception in Eclipse Photon when trying to view the "Progress" view and "Import plugins and fragments" window:
Cause
This method was deprecated in Java 9 and removed in Java 11: https://bugs.openjdk.java.net/browse/JDK-8181442 https://bugs.openjdk.java.net/browse/JDK-8199699
It has been replaced by
MethodHandles.Lookup.defineClass
.We should conditionally use the new method or the old method depending of whether it exists, or remove the Unsafe usages.