Hi,
    I'm no expert, but can't you make a condition of the pointcut a not?
Something like:

Pointcut allCalls(): call(* java.io..*.*(..)) && !(* java.lang..*.*(..));

I don't know why it would trip on java.lang, maybe some weird inheritance.

Hope this helps!
Tyler



On Mon, Jun 23, 2008 at 7:57 AM, Raffi Takvor Khatchadourian <
[EMAIL PROTECTED]> wrote:

> Hello. I would like to advise all calls to all methods within the
> java.io package and subpackages. I have the following pointcut:
>
> call(* java.io..*.*(..))
>
> It works, however, it also advised calls to methods within java.lang as
> well. Anyway to fix this? Thanks!
> _______________________________________________
> aspectj-users mailing list
> [email protected]
> https://dev.eclipse.org/mailman/listinfo/aspectj-users
>
_______________________________________________
aspectj-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/aspectj-users

Reply via email to