aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs150/pr87530/FinalITDMOnInterface2.aj
diff options
context:
space:
mode:
authoracolyer <acolyer>2005-09-05 14:07:39 +0000
committeracolyer <acolyer>2005-09-05 14:07:39 +0000
commita905c8e46f43684ef19adc4817374b82f2b0993d (patch)
tree63f6ef8a407ca6cae02d6e3a90a7b550ec8b9f7a /tests/bugs150/pr87530/FinalITDMOnInterface2.aj
parentdf46c6f728502a74b2d042a0a955eab1326ba76a (diff)
downloadaspectj-a905c8e46f43684ef19adc4817374b82f2b0993d.tar.gz
aspectj-a905c8e46f43684ef19adc4817374b82f2b0993d.zip
tests for pr87530, final modifier on interface itdm
Diffstat (limited to 'tests/bugs150/pr87530/FinalITDMOnInterface2.aj')
-rw-r--r--tests/bugs150/pr87530/FinalITDMOnInterface2.aj24
1 files changed, 24 insertions, 0 deletions
diff --git a/tests/bugs150/pr87530/FinalITDMOnInterface2.aj b/tests/bugs150/pr87530/FinalITDMOnInterface2.aj
new file mode 100644
index 000000000..5b08e6e6d
--- /dev/null
+++ b/tests/bugs150/pr87530/FinalITDMOnInterface2.aj
@@ -0,0 +1,24 @@
+public class FinalITDMOnInterface2 {
+
+ public static void main(String[] args) {
+ FinalITDMOnInterface2 f = new FinalITDMOnInterface2();
+ f.m();
+ }
+
+ public void m() {
+ System.out.println("in class method");
+ }
+
+}
+
+aspect A {
+
+ interface TestInterface {}
+
+ public final void TestInterface.m() {
+ System.out.println("in aspect declared method");
+ }
+
+ declare parents : FinalITDMOnInterface2 implements TestInterface;
+
+} \ No newline at end of file