Hi all,

I recently noticed that when I 
declare an interceptor above my public observer method, the interceptor 
isn't called when the event fires for the first time. If I call this 
observer method directly the 
interceptor get called as usual. 
I think the root problem is in ObserverMethodImpl:notify which decides a method 
is private or not based on this code:

boolean isPrivateMethod = !observerMethod.isAccessible() ;

And then make the method accessible if it is not. By default, all reflected 
objects are inaccessible so even public methods in the first time treated as 
private.

OWB: 1.1.7. 
JDK: 1.7

Thanks.

Reply via email to