diff options
author | aclement <aclement> | 2009-07-27 22:00:21 +0000 |
---|---|---|
committer | aclement <aclement> | 2009-07-27 22:00:21 +0000 |
commit | 1f118ad52bfe5405ca913f210634996f715adc06 (patch) | |
tree | 69a490e7aa115e8514a3aef6dbafb97e6e244d6a /tests/bugs166 | |
parent | 08b7d9e41e05df9956c5da1514a2edd29567a0ac (diff) | |
download | aspectj-1f118ad52bfe5405ca913f210634996f715adc06.tar.gz aspectj-1f118ad52bfe5405ca913f210634996f715adc06.zip |
282299: generics and declare parents - bridge method unrecognized
Diffstat (limited to 'tests/bugs166')
-rw-r--r-- | tests/bugs166/pr282299/Code.java | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/tests/bugs166/pr282299/Code.java b/tests/bugs166/pr282299/Code.java new file mode 100644 index 000000000..850624856 --- /dev/null +++ b/tests/bugs166/pr282299/Code.java @@ -0,0 +1,28 @@ +public class Code { +} + +interface Accessor<V> +{ + V get(String key); + + void set(String key, V value); +} + +class AccessorImpl<V> implements Accessor<V> { + + public V get(String key) { + System.out.println("Calling get(..)"); + return null; + } + + public void set(String key, V value) { + System.out.println("Calling set(..)"); + } + +} + +class Target {} + +aspect TargetEnhancer { + declare parents: Target extends AccessorImpl<String>; +} |