aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs160
diff options
context:
space:
mode:
authoraclement <aclement>2008-03-05 23:31:16 +0000
committeraclement <aclement>2008-03-05 23:31:16 +0000
commit97e2ffa40e0c4b884b8e003d647fd0521bcb419d (patch)
tree865f0d0c8effebca46c3d1b2825126b574e1294b /tests/bugs160
parent2c257af099b5fafeae0620a9c9176143be07b707 (diff)
downloadaspectj-97e2ffa40e0c4b884b8e003d647fd0521bcb419d.tar.gz
aspectj-97e2ffa40e0c4b884b8e003d647fd0521bcb419d.zip
221558: test and fix: incorrect abstract method error with generics and ITDs
Diffstat (limited to 'tests/bugs160')
-rw-r--r--tests/bugs160/various/IncorrectMessage2.java14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/bugs160/various/IncorrectMessage2.java b/tests/bugs160/various/IncorrectMessage2.java
new file mode 100644
index 000000000..116e8cd64
--- /dev/null
+++ b/tests/bugs160/various/IncorrectMessage2.java
@@ -0,0 +1,14 @@
+
+class Foo<A> extends FooBase implements Marker<A> { }
+
+interface Marker<A> { }
+
+aspect AspectDoWhatEver {
+ void Marker<A>.doWhatEver() { // do nothing
+ }
+}
+
+abstract class FooBase
+{
+ abstract void doWhatEver();
+} \ No newline at end of file