diff options
author | aclement <aclement> | 2007-10-18 11:02:00 +0000 |
---|---|---|
committer | aclement <aclement> | 2007-10-18 11:02:00 +0000 |
commit | 499b8bcb0e89b39a63008fc68b44df9ed39d0750 (patch) | |
tree | 748080f3a5b8f4915cc5b1014bbac41ce4d8236f /tests/bugs154/pr170467 | |
parent | 7d21be99acce64728f70e3f4b26bc5390a658672 (diff) | |
download | aspectj-499b8bcb0e89b39a63008fc68b44df9ed39d0750.tar.gz aspectj-499b8bcb0e89b39a63008fc68b44df9ed39d0750.zip |
these tests are now for 1.5.4, not 1.6.0
Diffstat (limited to 'tests/bugs154/pr170467')
-rw-r--r-- | tests/bugs154/pr170467/Bug.aj | 16 | ||||
-rw-r--r-- | tests/bugs154/pr170467/Bug2.aj | 16 |
2 files changed, 32 insertions, 0 deletions
diff --git a/tests/bugs154/pr170467/Bug.aj b/tests/bugs154/pr170467/Bug.aj new file mode 100644 index 000000000..4c68eda07 --- /dev/null +++ b/tests/bugs154/pr170467/Bug.aj @@ -0,0 +1,16 @@ +import java.util.*; + +// this should be OK, the parameterized forms of Set are the same + +abstract class BaseClass { } + +aspect BaseClassAspect { + public abstract void BaseClass.setSomething(Set<String> somethings); +} + +class ExtendedBaseClass extends BaseClass { + @Override + public void setSomething(Set<String> somethings) { } +} + + diff --git a/tests/bugs154/pr170467/Bug2.aj b/tests/bugs154/pr170467/Bug2.aj new file mode 100644 index 000000000..89b5121c4 --- /dev/null +++ b/tests/bugs154/pr170467/Bug2.aj @@ -0,0 +1,16 @@ +import java.util.*; + +// Trivial testcase to ensure the basics behave + +abstract class BaseClass { } + +aspect BaseClassAspect { + public abstract void BaseClass.setSomething(Set somethings); +} + +class ExtendedBaseClass extends BaseClass { + @Override + public void setSomething(Set somethings) { } +} + + |