[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [aspectj-users] Aspect generated property naming convention.
|
Hi Andy,
Thank you very much for your explication.
Salutations.
Jean-Jacques.
Le 24/01/2013 18:36, Andy Clement a écrit :
Hi,
It is only a recent
thing that you have the ability to have 'non mangled' names
for the generated elements. Originally all names were
mangled because the principal design was that you are
expressing new members that are private 'with respect to the
aspect' - so they are for the aspects use and the user code
doesn't want to know they are there - if they are mangled
then the user code is very unlikely to trip over them.
However, more and more users wanted to use the pattern to
add private members to types and not have them mangled. The
first round of changes made this work for ITDs on classes.
The second round of changes handled this for ITDs on
interfaces - under https://bugs.eclipse.org/bugs/show_bug.cgi?id=73507
- this was in AspectJ 1.7.1. The older naming scheme can be
'forced' by using -Xset:itdVersion=1
- that will ensure all names are mangled like they used to
be and is primarily still in the code for compatibility
reasons (if you had legacy code that had certain
expectations). There is no option to force the new naming
scheme, it should be the default.
Your maven
shows you as using 1.6.11 - you should probably update to
1.7.1. It may be that the builds in eclipse are using the
new naming scheme whilst your maven builds are using the old
naming scheme.
cheers,
Andy
_______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/aspectj-users
|
begin:vcard
fn:Jean-Jacques Peyronel
n:Peyronel;Jean-Jacques
org:TOWA France;Informatique
adr:Ch de la bastide blanche;;Parc GVIO Bat A5;Vitrolles;;13127;France
email;internet:jjpeyronel@xxxxxxxxxxxxxx
title;quoted-printable:D=C3=A9veloppeur
tel;work:04 42 34 01 37
tel;fax:04 42 34 01 45
url:http://www.towa-france.fr
version:2.1
end:vcard
Attachment:
signature.asc
Description: OpenPGP digital signature