Community
Participate
Working Groups
Following setup: Precompiled JAR File containing an abstract aspect (especially an abstract pointcut) -- JAR was precompiled using ajc version 1.2.1 Aspect-Project in Eclipse, extending the abstract aspect to a concrete one using this JAR file in the AspectJ Aspect Path. AJDT 1.2.0M2 produces following error: "BCException thrown: malformed org.aspectj.weaver.PointcutDeclaration attribute java.IO.EOFException" AJDT 1.1.12 produces following error: "BCException thrown: unknown attribute org.aspectj.weaver.WeaverVersion"
AspectJ1.2.1 introduced the WeaverVersion attribute to help with migration issues (ironically). AspectJ1.1.12 isn't expecting the attribute because 1.1.12 contains AspectJ1.2.0 AspectJ1.2.0M2 isn't able to process the PointcutDeclaration attribute because 1.2.0M2 includes AspectJ1.5.0M1 which expanded type patterns to include an 'annotationpattern' which is of course missing from what you built with AspectJ1.2.1. Now the *good* news - I fixed this problem in January, under bug 82134. The fix is in AspectJ1.5.0M2 and that version of AspectJ is in AJDT1.2.0M3 that was released earlier this week.
As per Andy's comments above, this is fixed in more recent versions of AspectJ