The JVM may take a while to perform the hot swap operation. Could you please
add a Thread.sleep before the sayHello() call?
If it still not works, then it is a bug.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4186433#4186433
Reply to the post :
http://www
Am not using AS at all (simply standalone JBoss AOP). I did however find out
that dropping the -hotSwap parameter fixed the issue. Am not sure if that's how
it should be, but it did the trick.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4186415#4186415
Rep
rubenv wrote : I can see the advice code being run, as expected (once for the
first sayHello call, twice for the second one, because the interceptor has been
added). This leads me to believe that the prepare isn't being noticed.
This is unexpected. It looks like you have found a bug.
Just to