summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjhugunin <jhugunin>2002-12-19 22:12:38 +0000
committerjhugunin <jhugunin>2002-12-19 22:12:38 +0000
commit102a6af2f228e7bbcf03864f1c95339c533fb54e (patch)
tree8a9b1a07ad54bb23e4ce20af727a492a6e43e460
parentc46adac65118dff18af875b3d760aced6b42f615 (diff)
downloadaspectj-102a6af2f228e7bbcf03864f1c95339c533fb54e.tar.gz
aspectj-102a6af2f228e7bbcf03864f1c95339c533fb54e.zip
removed old 1.0 warnings
-rw-r--r--tests/ajcTests.xml2
-rw-r--r--tests/new/PR573.java2
-rw-r--r--tests/new/PR573_1.java2
3 files changed, 2 insertions, 4 deletions
diff --git a/tests/ajcTests.xml b/tests/ajcTests.xml
index ab3caad88..e1e4aba0a 100644
--- a/tests/ajcTests.xml
+++ b/tests/ajcTests.xml
@@ -4336,7 +4336,6 @@
title="pertarget stack overflow getting name of anonymous (Interface) class"
keywords="from-resolved_10rc3">
<compile files="PR573.java">
- <message kind="warning" line="21"/>
</compile>
<run class="PR573"/>
</ajc-test>
@@ -4345,7 +4344,6 @@
title="pertarget stack overflow getting name of anonymous (Object) class"
keywords="from-resolved_10rc3">
<compile files="PR573_1.java">
- <message kind="warning" line="20"/>
</compile>
<run class="PR573_1"/>
</ajc-test>
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++); }
}