Community
Participate
Working Groups
When the aspectj nature is added to a java / plugin project which contains generic types, the compiler does not recognize the Java 5 constructs in the java files even if the 1.5 weaving behavior is enabled. Error messages like: Syntax error on tokens, delete these tokens, The interface XXX cannot define an initializer, Syntax error on tokens, AspectHeaderName expected instead are generated in the problem view. Removing the aspectj nature get back to the normal situation.
Hi, I'm afraid that just is the current state of AspectJ 1.5.0 M1. From the AspectJ 5 Readme: ... These are implemented as changes to the weaver, not the front-end compiler. The 1.5.0 M1 release cannot be used to compile code using Java 5 features, but can be used to weave (inpath) Java classes created by a Java 5 compiler.
LATER/REMIND bugs are being automatically reopened as P5 because the LATER and REMIND resolutions are deprecated.
Old bug. Likely fixed for a while.