summaryrefslogtreecommitdiffstats
path: root/tests/new
diff options
context:
space:
mode:
Diffstat (limited to 'tests/new')
-rw-r--r--tests/new/PR573.java2
-rw-r--r--tests/new/PR573_1.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/new/PR573.java b/tests/new/PR573.java
index 22efc6de7..20dfb1ae4 100644
--- a/tests/new/PR573.java
+++ b/tests/new/PR573.java
@@ -18,7 +18,7 @@ public class PR573 {
}
interface Interface { void m(Object o);}
-aspect A pertarget(target(Interface)) { // CW 21 will not match containing aspect
+aspect A pertarget(target(Interface)) { // was a warning in 1.0
public static int num;
A(){ Tester.event("A.init" + num++); }
}
diff --git a/tests/new/PR573_1.java b/tests/new/PR573_1.java
index d9b8bf3dc..e040c068e 100644
--- a/tests/new/PR573_1.java
+++ b/tests/new/PR573_1.java
@@ -17,7 +17,7 @@ public class PR573_1 {
}
}
// different stack overflow when using Object, not Interface
-aspect A pertarget(target(Object) && !target(A)) { // CW 20 will not match containing aspect
+aspect A pertarget(target(Object) && !target(A)) { // was a warning in 1.0
public static int num;
A(){ Tester.event("A.init" + num++); }
}