diff options
Diffstat (limited to 'tests/features152/synchronization/LockAspect1.java')
-rw-r--r-- | tests/features152/synchronization/LockAspect1.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/features152/synchronization/LockAspect1.java b/tests/features152/synchronization/LockAspect1.java new file mode 100644 index 000000000..a1b0bbc08 --- /dev/null +++ b/tests/features152/synchronization/LockAspect1.java @@ -0,0 +1,9 @@ +// to be LTW with BasicProgram1 +import org.aspectj.lang.annotation.*; + +public aspect LockAspect1 { + @SuppressAjWarnings("adviceDidNotMatch") + before(): lock() { + System.err.println("Lock advice running at "+thisJoinPoint.getSourceLocation()); + } +}
\ No newline at end of file |