Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-users] Why declare warning: is not working?

HI i am very new to AspectJ and to this mailing list.
i am trying some examples, but declare warning is not working.
this is my code:
------------------------------------------------
pointcut sysAccess(): get(* System.out);
   
    declare warning: sysAccess():
        "Access Denied";
------------------------------------------------
why it is not working?
can anybody explain?

regards
Mallik Avul


Pinpoint customers who are looking for what you sell.

Back to the top