[aspectj-users] LTW:Synchronizing a non synchronized method

2012-09-04 Thread jeanlouis.pasturel
To synchronize a not synchronized method, does this Aspect do correctly the job ? public aspect MySynchronizor { public pointcut methods(): execution( public * *..class.methodToSynchronize(..)); Object around(): methods() { Object retour = null; synchronized(this){

Re: [aspectj-users] Post-compile time weaving: howto

2012-09-04 Thread Valerian Galeru
Hi Alexander, Thank you for your answerhelp. I tried also with Runnable JAR + Package required libraries into generated JAR. Now all the JARs in the Build Path (+ aspectj-rt.jar + the JAR in the INPATH) are included in the root of the exported JAR. As compiled classes it has these

Re: [aspectj-users] Is it a bug in the declare parents involving interfaces?

2012-09-04 Thread Andy Clement
Hi, I have other users asking for static ITDs on interfaces too - there is a placeholder bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=369261 - if you want to add your use cases to that, it would help shape the feature. Andy On 4 September 2012 10:03, Henrique Rebêlo h...@cin.ufpe.br

Re: [aspectj-users] Post-compile time weaving: howto

2012-09-04 Thread Andy Clement
Questions In the exported aspect-jar, there are only the .class files of the AspectJ project, no .class files for the INPATH-Jar. Should there be other classes, from the imported INPATH-jar? I can imagine 'export jar with AspectJ support' is not totally inpath aware in the simple case. But

Re: [aspectj-users] WeavingAdapter - how to use it?

2012-09-04 Thread Andy Clement
If you add -Xbootclasspath/p:path_to_aspects.jar JVM option, then you can instrument inside the JDKs and also instrument already loaded classes. Not sure that statement is quite correct. You cannot just do that to instrument already loaded classes - you can use the bootclasspath option to

Re: [aspectj-users] Is it a bug in the declare parents involving interfaces?

2012-09-04 Thread Henrique Rebêlo
Hi Andy, I have other users asking for static ITDs on interfaces too - there is a placeholder bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=369261 - if you want to add your use cases to that, it would help shape the feature. Thanks! In order to vote on a feature or raise a bug, a login

Re: [aspectj-users] Is it a bug in the declare parents involving interfaces?

2012-09-04 Thread Andy Clement
You need a bugzilla account, which I think you can create on here: https://bugs.eclipse.org/bugs/ Andy On 4 September 2012 11:15, Henrique Rebêlo h...@cin.ufpe.br wrote: Hi Andy, I have other users asking for static ITDs on interfaces too - there is a placeholder bug:

Re: [aspectj-users] Is it a bug in the declare parents involving interfaces?

2012-09-04 Thread Henrique Rebêlo
Thanks Andy! On Tue, Sep 4, 2012 at 11:23 AM, Andy Clement andrew.clem...@gmail.comwrote: You need a bugzilla account, which I think you can create on here: https://bugs.eclipse.org/bugs/ Andy On 4 September 2012 11:15, Henrique Rebêlo h...@cin.ufpe.br wrote: Hi Andy, I have other

Re: [aspectj-users] LTW:Synchronizing a non synchronized method

2012-09-04 Thread jeanlouis.pasturel
Ok Thanks Andy Cordialement / Best regards Jean-Louis Pasturel -Message d'origine- De : aspectj-users-boun...@eclipse.org [mailto:aspectj-users-boun...@eclipse.org] De la part de Andy Clement Envoyé : mardi 4 septembre 2012 19:46 À : aspectj-users@eclipse.org Objet : Re: