aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs163
diff options
context:
space:
mode:
authoraclement <aclement>2008-11-03 22:18:40 +0000
committeraclement <aclement>2008-11-03 22:18:40 +0000
commit44bc4850c95f12d26f0554102ef124e8fa9ed396 (patch)
tree222301214f16bd1adc6f999d0b2d7c62eea83629 /tests/bugs163
parent20829e432308522e9c03befe5c077d757ea49358 (diff)
downloadaspectj-44bc4850c95f12d26f0554102ef124e8fa9ed396.tar.gz
aspectj-44bc4850c95f12d26f0554102ef124e8fa9ed396.zip
253109: fix
Diffstat (limited to 'tests/bugs163')
-rw-r--r--tests/bugs163/pr253109/CodeFour.java13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/bugs163/pr253109/CodeFour.java b/tests/bugs163/pr253109/CodeFour.java
new file mode 100644
index 000000000..729ad8837
--- /dev/null
+++ b/tests/bugs163/pr253109/CodeFour.java
@@ -0,0 +1,13 @@
+import java.util.*;
+
+public aspect CodeFour {
+
+ static final class FinalSet<T> extends HashSet<T> {}
+
+ before(): execution(* *(..)) && args(List<?>) {}
+
+ public void m(FinalSet<String> ss) {
+ // List<?> l = (List<?>)ss; // cannot write this (FinalSet is final) so pointcut should not match
+ }
+
+}