aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs165
diff options
context:
space:
mode:
authoraclement <aclement>2009-06-12 22:33:02 +0000
committeraclement <aclement>2009-06-12 22:33:02 +0000
commit65ed03ad0aaed18d1cb83897c70575dc702b0b07 (patch)
treece802d1a4f08761e08ef5f4c48f7b267d46de791 /tests/bugs165
parent140040eb7c05beed14ad49a38c2d59508dcda6f8 (diff)
downloadaspectj-65ed03ad0aaed18d1cb83897c70575dc702b0b07.tar.gz
aspectj-65ed03ad0aaed18d1cb83897c70575dc702b0b07.zip
279983: test
Diffstat (limited to 'tests/bugs165')
-rw-r--r--tests/bugs165/pr279983/X.java25
1 files changed, 25 insertions, 0 deletions
diff --git a/tests/bugs165/pr279983/X.java b/tests/bugs165/pr279983/X.java
new file mode 100644
index 000000000..db4f4a080
--- /dev/null
+++ b/tests/bugs165/pr279983/X.java
@@ -0,0 +1,25 @@
+
+public class X implements SelectAction<Long, User>{
+ public void setSelected(User user){
+ //overriden version
+ }
+ public static void main(String[] args){
+ new X().setSelectedId(1l);
+ }
+}
+
+interface SelectAction<I, T> {
+ public void setSelectedId(I id);
+ public void setSelected(T object);
+}
+
+aspect SelectActionAspect {
+ public void SelectAction<I, T>.setSelected(T object){
+ //do nothing
+ }
+ public void SelectAction<I, T>.setSelectedId(I id){
+ setSelected(null);
+ }
+}
+
+class User {}