summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authoracolyer <acolyer>2005-08-11 10:40:28 +0000
committeracolyer <acolyer>2005-08-11 10:40:28 +0000
commite6c65619c3e20bc105bef61327bc80178409f0d4 (patch)
treee712897ddd862c1f7292af49e1534055e346687d /tests
parentf7e79bbcf5dfbcc76fa4ec6249fbb16e539043ea (diff)
downloadaspectj-e6c65619c3e20bc105bef61327bc80178409f0d4.tar.gz
aspectj-e6c65619c3e20bc105bef61327bc80178409f0d4.zip
updated to test for non-parameterized super aspect
Diffstat (limited to 'tests')
-rw-r--r--tests/java5/generics/genericaspects/GenericAspect2.aj6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/java5/generics/genericaspects/GenericAspect2.aj b/tests/java5/generics/genericaspects/GenericAspect2.aj
index 8d2ca6a9c..bff9b26d2 100644
--- a/tests/java5/generics/genericaspects/GenericAspect2.aj
+++ b/tests/java5/generics/genericaspects/GenericAspect2.aj
@@ -1,9 +1,9 @@
-// illegal, super aspect is not abstract
+// error, must parameterize super aspect
-public aspect GenericAspect2<S,T> {
+public abstract aspect GenericAspect2<S,T> {
public void doSomething(S s,T t) { }
}
-aspect Sub extends GenericAspect2<String,String> { }
+aspect Sub extends GenericAspect2 { }