Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-dev] cflow question

Hi,

I have a simple example
class Test{
   public static void main(String[] args){
       Test test = new Test();
       test.display();
   }
   public void display(){
       System.out.println("testing");
   }
}
aspect testAspect{
   pointcut flowDisplay(): cflow(call(*
Test.display()));
   before(): flowDisplay(){
       System.out.println("entered advice");
   }
}
I get stackOverflows all the time. Can someone tell
why this loops?

thx
volvin


__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more
http://tax.yahoo.com


Back to the top