I don't *think* so. AspectJ is simply looking for the monitorenter/monitorexit bytecodes and inserting advice calls. Calling Object.wait() isn't recognized as related to synchronization.
cheers Andy On 6 January 2014 11:49, Jonathan Mace <[email protected]> wrote: > Do the lock and unlock synchronization pointcuts get triggered when a > thread calls wait inside a synchronized block? > > ie. > > synchronized(this) { > // blah > wait(); > // blah > } > > Would this trigger the following? > > lock() > unlock() > lock() > unlock() > > Cheers, > > Jon > > _______________________________________________ > aspectj-users mailing list > [email protected] > https://dev.eclipse.org/mailman/listinfo/aspectj-users > >
_______________________________________________ aspectj-users mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/aspectj-users
