Bug#757484: aspectj: FTBFS with Java 8: ClassFormatException: Invalid byte tag in constant pool: 18

Emmanuel Bourg ebourg at apache.org
Fri Oct 24 12:24:17 UTC 2014


Updating AspectJ to the version 1.8.x solves this issue. Unfortunately
another error occurs:

  [ajbuild]
/home/ebourg/aspectj/ajde.core/src/org/aspectj/ajde/core/AjCompiler.java:116:
error: cannot access TypeDelegateResolver
  [ajbuild]             return state.recordDependencies(file,
typeNameDependencies);
  [ajbuild]                         ^
  [ajbuild]   class file for
org.aspectj.weaver.bcel.TypeDelegateResolver not found
  [ajbuild] Note: Some input files use unchecked or unsafe operations.
  [ajbuild] Note: Recompile with -Xlint:unchecked for details.
  [ajbuild] 1 error
  [ajbuild] 4 warnings

This error can be reproduced with OpenJDK 8u25 and 8u40-b09, but the
version 8u5 works fine.

This issue has been forwarded upstream:

https://bugs.eclipse.org/448652



More information about the pkg-java-maintainers mailing list