Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [aspectj-users]"can't determine precedence between two or more pieces of advice that apply to the same join point"

 
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Wes Isberg wrote:
> The behavior is well-defined, but the programmer can define a
> precedence cycle. See circularity discussion in programming guide
> semantic appendix section on advice precedence:  
> 
> http://www.eclipse.org/aspectj/doc/released/progguide/semantics-advi
> ce.html#d0e6220 
Thanks for pointing that out, Wes.

> (A good rule is to always put after advice last.)
Well, given that, would it not be more intuitive to execute *all*
before advice matching one joinpoint simply before the joinpoint in
the order in which they appear, followed by the shadow, followed by
all after advice that match this joinpoint?

Eric

- -- 
Eric Bodden
Chair I2 for Programming Languages and Program Analysis
RWTH Aachen University

-----BEGIN PGP SIGNATURE-----
Version: PGP 8.0.3

iQA/AwUBQnygEswiFCm7RlWCEQJSPACgyQ22erpCGUVrnEZqNR11tGXzGcgAn3jN
hUa/folTblvCnOYH6Hk+TFdZ
=hCwN
-----END PGP SIGNATURE-----




Back to the top