diff options
author | aclement <aclement> | 2008-03-05 23:31:16 +0000 |
---|---|---|
committer | aclement <aclement> | 2008-03-05 23:31:16 +0000 |
commit | 97e2ffa40e0c4b884b8e003d647fd0521bcb419d (patch) | |
tree | 865f0d0c8effebca46c3d1b2825126b574e1294b /tests/bugs160 | |
parent | 2c257af099b5fafeae0620a9c9176143be07b707 (diff) | |
download | aspectj-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.java | 14 |
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 |