Community
Participate
Working Groups
When attempting to compile the following aspect the resulting error message should say something like "The abstract method pointcut tracingScope in type Tracing can only be defined by an abstract aspect" public aspect Tracing { public abstract pointcut tracingScope(); }
I have fixed this case and the related case of public class Tracing public abstract pointcut tracingScope(); } Which was also resulting in crap error messages. I haven't fixed the message as proposed in the bug report, I have fixed it properly to be "The abstract pointcut tracingScope can only be defined in an abstract aspect" This involved: In pointcutdeclaration.postParse() I had to produce the correct error message. In AjProblemReporter I have to override abstractMethodInAbstractClass and make sure we don't report problems on methods arising from pointcut declarations (since postParse is already putting out the right message). Fix checked in, waiting for build.
Fix available: BUILD COMPLETE - build.364 Date of build: 08/27/2004 22:17:38 Time to build: 95 minutes 15 seconds Last changed: 08/27/2004 17:02:18 Latest good AspectJ jar available at: download.eclipse.org/technology/ajdt/dev/aspectj-DEVELOPMENT.jar
Fix released as part of AspectJ 1.2.1