aboutsummaryrefslogtreecommitdiffstats
path: root/tests/new/AdviceOnEmptyConstructor.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/new/AdviceOnEmptyConstructor.java')
-rw-r--r--tests/new/AdviceOnEmptyConstructor.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/new/AdviceOnEmptyConstructor.java b/tests/new/AdviceOnEmptyConstructor.java
index 04b2ed99f..bd38c98fa 100644
--- a/tests/new/AdviceOnEmptyConstructor.java
+++ b/tests/new/AdviceOnEmptyConstructor.java
@@ -1,5 +1,5 @@
import org.aspectj.testing.Tester;
-
+import org.aspectj.lang.annotation.SuppressAjWarnings;
public aspect AdviceOnEmptyConstructor {
public static void main(String[] args) { test(); }
@@ -16,7 +16,7 @@ public aspect AdviceOnEmptyConstructor {
call(C.new()) {
c.value = "afterInit:" + c.value;
}
- /*static*/ after() returning(C1 c1):
+ @SuppressAjWarnings("adviceDidNotMatch") /*static*/ after() returning(C1 c1):
//this(c1) &&
call(C1.new()) {
c1.value = "afterInit:" + c1.value;