aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs163/pr171042
diff options
context:
space:
mode:
authoraclement <aclement>2008-12-02 22:29:49 +0000
committeraclement <aclement>2008-12-02 22:29:49 +0000
commit57561d1fef451dfdf395d9983718918268687640 (patch)
treea4a0e08377d63a0be67c1983a0b9651e4895dd7a /tests/bugs163/pr171042
parent5aba4214ce875a313e0243407c84d107fdbde446 (diff)
downloadaspectj-57561d1fef451dfdf395d9983718918268687640.tar.gz
aspectj-57561d1fef451dfdf395d9983718918268687640.zip
171042: test and fix
Diffstat (limited to 'tests/bugs163/pr171042')
-rw-r--r--tests/bugs163/pr171042/Executable.java6
-rw-r--r--tests/bugs163/pr171042/RunnableAspect.java7
-rw-r--r--tests/bugs163/pr171042/TestClass.java13
3 files changed, 26 insertions, 0 deletions
diff --git a/tests/bugs163/pr171042/Executable.java b/tests/bugs163/pr171042/Executable.java
new file mode 100644
index 000000000..79fa99147
--- /dev/null
+++ b/tests/bugs163/pr171042/Executable.java
@@ -0,0 +1,6 @@
+package test;
+
+public interface Executable {
+
+ void execute();
+}
diff --git a/tests/bugs163/pr171042/RunnableAspect.java b/tests/bugs163/pr171042/RunnableAspect.java
new file mode 100644
index 000000000..ad172b08c
--- /dev/null
+++ b/tests/bugs163/pr171042/RunnableAspect.java
@@ -0,0 +1,7 @@
+package test;
+
+public aspect RunnableAspect {
+ public void Executable.run() { execute(); }
+ declare parents: Executable implements Runnable;
+}
+
diff --git a/tests/bugs163/pr171042/TestClass.java b/tests/bugs163/pr171042/TestClass.java
new file mode 100644
index 000000000..645af793f
--- /dev/null
+++ b/tests/bugs163/pr171042/TestClass.java
@@ -0,0 +1,13 @@
+package test;
+
+public class TestClass {
+
+ public static void main(String[] args) {
+ Executable executable = new Executable() {
+ public void execute() {
+
+ }
+ };
+ }
+}
+