Re: [aspectj-users] Aspectj working with JMC

2015-03-02 Thread leon
Never mind, I saw the fix on 1.7.4 Thanks Leon From: tutuf...@hotmail.com To: aspectj-users@eclipse.org Date: Mon, 2 Mar 2015 21:04:58 +0800 Subject: [aspectj-users] Aspectj working with JMC Hi, Anyone could help to take a look at this post? http://stackoverflow.com/questions/28803974/use-orac

[aspectj-users] Aspectj working with JMC

2015-03-02 Thread leon
Hi, Anyone could help to take a look at this post? http://stackoverflow.com/questions/28803974/use-oracle-jmc-along-with-other-javaagent-like-aspectj ___ aspectj-users mailing list aspectj-users@eclipse.org To ch

Re: [aspectj-users] NoSuchMethodError for a simple hello world aspect in scala

2014-06-05 Thread leon
ference (no idea), but generally I suggest you explicitly return the result of 'proceed()' (or whatever you want to return instead) if 'proceed()' is not the method's last statement. -- Alexander Kriegischhttp://scrum-master.de Am 05.06.2014 um 16:01 schrieb 马leon : H

Re: [aspectj-users] NoSuchMethodError for a simple hello world aspect in scala

2014-06-05 Thread leon
. Try this aop.xml: Certainly the error indicates the weaver didn't 'finish off' the aspect by adding the aspectOf() method. Andy On 5 June 2014 07:01, 马leon wrote: Hi, I'm trying

[aspectj-users] NoSuchMethodError for a simple hello world aspect in scala

2014-06-05 Thread leon
Hi, I'm trying to do some hello world test in scala, here're code: class HelloWorld { def sayHello() : Unit = println("Hello word")} @Aspectclass HelloAspect { @Around(value = "execution (* com.leon.aop.HelloWorld.sayHello())") def testCP(jp: ProceedingJoinPoint) { println("Start..."

Re: [aspectj-users] How to create nested aspects

2014-06-05 Thread leon
"precedence". -- Alexander Kriegischhttp://scrum-master.de Am 05.06.2014 um 13:07 schrieb 马leon : Hi, Assuming I have a method: public void sayHello(){ System.out.println("Hello world") } I'd like to have a nested round advice interception like: System.out.println("Be

[aspectj-users] How to create nested aspects

2014-06-05 Thread leon
Hi, Assuming I have a method: public void sayHello(){ System.out.println("Hello world") } I'd like to have a nested round advice interception like: System.out.println("Begin doA()") System.out.println("Begin doB()") sayHello() System.out.println("End doB()") System.out.println("End doA()") If

Re: [aspectj-users] Runtime performance against different weaving options

2014-06-04 Thread leon
ng AOP which involves > Java Dynamic Proxies and/or CGLIB proxies. > > Regards > -- > Alexander Kriegisch > http://scrum-master.de > > > 马leon schrieb am 04.06.2014 11:10: > > > I know there're 3 ways to weaving: compile-time, post compile time and > &

[aspectj-users] Runtime performance against different weaving options

2014-06-04 Thread leon
Hi, I know there're 3 ways to weaving: compile-time, post compile time and load-time I'd like to know is there any performance comparison for above 3 ways. By "performance", I mean all classes have been loaded and the server gets warm-up for some time. Thanks Leon