Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [aspectj-users] LTW and "get" pointcut

So, does it mean that any aspect should work with load-time weaving the same way it works with compile-time weaving?

 


From: aspectj-users-bounces@xxxxxxxxxxx [mailto:aspectj-users-bounces@xxxxxxxxxxx] On Behalf Of Matthew Webster
Sent: Thursday, October 26, 2006 9:21 AM
To: aspectj-users@xxxxxxxxxxx
Subject: Re: [aspectj-users] LTW and "get" pointcut

 


Alec,

The restriction (http://www.eclipse.org/aspectj/doc/released/faq.html#q:reflectiveCalls) applies to other pointcuts like call() and cannot be avoided with LTW. LTW is no different from other types of weaving except that it is performed later.

Matthew Webster
AOSD Project
Java Technology Centre, MP146
IBM Hursley Park, Winchester,  SO21 2JN, England
Telephone: +44 196 2816139 (external) 246139 (internal)
Email: Matthew Webster/UK/IBM @ IBMGB, matthew_webster@xxxxxxxxxx
http://w3.hursley.ibm.com/~websterm/[1]


"Alec Lebedev" <alec.lebedev@xxxxxxxxxxxx>
Sent by: aspectj-users-bounces@xxxxxxxxxxx

25/10/2006 20:13

Please respond to
aspectj-users@xxxxxxxxxxx

To

<aspectj-users@xxxxxxxxxxx>

cc

 

Subject

[aspectj-users] LTW and "get" pointcut

 

 

 




It seems that my “get” pointcuts don’t work with load-time weaving. According to the online docs classes where reflective calls occur don’t get weaved.
Is there a way to get get/set pointcuts to work with LTW?
 
Thanks.
 
Alec
 _______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/aspectj-users


Back to the top