From: aclement Date: Fri, 12 Jun 2009 22:33:02 +0000 (+0000) Subject: 279983: test X-Git-Tag: V1_6_5~12 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=65ed03ad0aaed18d1cb83897c70575dc702b0b07;p=aspectj.git 279983: test --- 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{ + public void setSelected(User user){ + //overriden version + } + public static void main(String[] args){ + new X().setSelectedId(1l); + } +} + +interface SelectAction { + public void setSelectedId(I id); + public void setSelected(T object); +} + +aspect SelectActionAspect { + public void SelectAction.setSelected(T object){ + //do nothing + } + public void SelectAction.setSelectedId(I id){ + setSelected(null); + } +} + +class User {}