Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-users] ajc error while compiling abstract pointcut

I cannot compile the following class:

P.java:
import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Pointcut;
@Aspect
public abstract class X
{
@Pointcut
protected abstract void x(Object o);
}

The command ajc -g -1.5 P.java returns with error:
P.java:5 [error] Cannot read debug info for @Aspect to handle formal binding in pointcuts (please compile with 'javac -g' or '<javac debug='true'.../>' in Ant)
public abstract class P

1 error
Compiler took 1522ms


Can somebody shed some light, please?

Thanks,
Pesho Petrov

_________________________________________________________________
Don't just search. Find. Check out the new MSN Search! http://search.msn.com/



Back to the top