Bug#909259: procyon: FTBFS with Java 11 due to sun.misc.Unsafe.defineClass() removal
Emmanuel Bourg
ebourg at apache.org
Thu Sep 20 13:54:56 BST 2018
Source: procyon
Version: 0.5.32-4
Severity: important
Tags: sid buster
User: debian-java at lists.debian.org
Usertags: default-java11
procyon fails to build with Java 11 due to the removal of the defineClass()
method in sun.misc.Unsafe:
/procyon/Procyon.Reflection/src/main/java/com/strobel/reflection/emit/TypeBuilder.java:1234: error: cannot find symbol
_generatedClass = (Class<T>) getUnsafeInstance().defineClasss(
^
symbol: method defineClasss(String,byte[],int,int,ClassLoader,ProtectionDomain)
location: class Unsafe
Note that gradle/4.4-2 doesn't run on Java 11 and can't build procyon yet,
but that's a different issue.
More information about the pkg-java-maintainers
mailing list