Source: aspectj
Version: 1.9.1-1
Severity: important
Tags: sid buster
User: [email protected]
Usertags: default-java11

aspectj fails to build with Java 11 due to the removal of the defineClass()
method in sun.misc.Unsafe:

  [ajbuild] 
/aspectj/loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java:1053:
 error: cannot find symbol
  [ajbuild]                     clazz = getUnsafe().defineClass(name, bytes, 0, 
bytes.length, loader, null);
  [ajbuild]                                        ^
  [ajbuild]   symbol:   method 
defineClass(String,byte[],int,int,ClassLoader,<null>)
  [ajbuild]   location: class Unsafe
  [ajbuild] 
/aspectj/loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java:1076:
 error: cannot find symbol
  [ajbuild]                     getUnsafe().defineClass(name, bytes, 0, 
bytes.length, loader, protectionDomain);
  [ajbuild]                                ^
  [ajbuild]   symbol:   method 
defineClass(String,byte[],int,int,ClassLoader,ProtectionDomain)
  [ajbuild]   location: class Unsafe

__
This is the maintainer address of Debian's Java team
<https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-java-maintainers>.
 Please use
[email protected] for discussions and questions.

Reply via email to