Binary re-weaving

View: New views
2 Messages — Rating Filter:   Alert me  

Binary re-weaving

by Tahir Akhtar :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
I wanted to know whether there are any side-effects of weaving a class
twice with same binary aspect?
Is there a chance that my advices will run twice?


Regards
Tahir Akhtar
_______________________________________________
aspectj-users mailing list
aspectj-users@...
https://dev.eclipse.org/mailman/listinfo/aspectj-users

Re: Binary re-weaving

by Simone Gianni-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Tahir,
no, there is no such danger. While weaving, AspectJ reverts the class to
its previous (un-weaved) state, and then weaves it again.

Simone

Tahir Akhtar wrote:

> Hi,
> I wanted to know whether there are any side-effects of weaving a class
> twice with same binary aspect?
> Is there a chance that my advices will run twice?
>
>
> Regards
> Tahir Akhtar
> _______________________________________________
> aspectj-users mailing list
> aspectj-users@...
> https://dev.eclipse.org/mailman/listinfo/aspectj-users


--
Simone Gianni            CEO Semeru s.r.l.           Apache Committer
http://www.simonegianni.it/

_______________________________________________
aspectj-users mailing list
aspectj-users@...
https://dev.eclipse.org/mailman/listinfo/aspectj-users