Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-users] advice matching the synchronized method shadow ... will be executed outside the lock rather than inside (compiler limitation)

Hi all.

ajc is giving me this compiler warning:

advice matching the synchronized method shadow <some method name here>
will be executed outside the lock rather than inside (compiler
limitation)

What does this mean? When ajc injects code into the body of a
synchronized method, is this code then not automatically guarded by
the lock that is assigned when this method is entered? Could somebody
clarify the semantics of that message for me?

Cheers,
Eric

--
Eric Bodden
Sable Research Group
McGill University, Montréal, Canada


Back to the top