aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs163
diff options
context:
space:
mode:
authoraclement <aclement>2008-11-03 18:53:33 +0000
committeraclement <aclement>2008-11-03 18:53:33 +0000
commit377ed8f4b1569214fab207dd915daadda22d2831 (patch)
treeb7d667007c514e16dfb6a7c07ae48c47db69d03b /tests/bugs163
parentfb630fa62b6654767dcdef3919105a89f9becdd3 (diff)
downloadaspectj-377ed8f4b1569214fab207dd915daadda22d2831.tar.gz
aspectj-377ed8f4b1569214fab207dd915daadda22d2831.zip
253109: testcode
Diffstat (limited to 'tests/bugs163')
-rw-r--r--tests/bugs163/pr253109/CodeThree.java13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/bugs163/pr253109/CodeThree.java b/tests/bugs163/pr253109/CodeThree.java
new file mode 100644
index 000000000..821eb3827
--- /dev/null
+++ b/tests/bugs163/pr253109/CodeThree.java
@@ -0,0 +1,13 @@
+import java.util.*;
+
+public aspect CodeThree {
+ before(): execution(* CodeThree.*(..)) && args(List<Integer>) {} // yes
+ before(): execution(* CodeThree.*(..)) && args(ArrayList<Integer>) {} // yes - runtime check
+ before(): execution(* CodeThree.*(..)) && args(List<Number>) {} // no
+ before(): execution(* CodeThree.*(..)) && args(ArrayList<Number>) {} // no
+ before(): execution(* CodeThree.*(..)) && args(List<? extends Number>) {} // yes
+ before(): execution(* CodeThree.*(..)) && args(ArrayList<? extends Number>) {} // yes - runtime check
+
+ void m(List<Integer> li) {}
+
+}