[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [aspectj-users] ajc error while compiling abstract pointcut
|
It's a typo. Should be:
@Aspect
public abstract class X
Pesho Petrov
Well.. if your file is called P.java then your aspect also needs to be
called P
so eighter change P.java to X.java or
change "public abstract class X" to "public abstract class P"
/Kaare Nilsen
On 03/12/06, Pesho Petrov <rdr36@xxxxxxxxxxx> wrote:
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/
_______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/aspectj-users
_______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/aspectj-users
_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar - get it now!
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/