aboutsummaryrefslogtreecommitdiffstats
path: root/tests/multiIncremental
diff options
context:
space:
mode:
authoraclement <aclement>2005-10-05 14:01:43 +0000
committeraclement <aclement>2005-10-05 14:01:43 +0000
commit727b0f5356e50761530655b52cbc0a96aff75c05 (patch)
tree1db733395b59ca2b46480ab5faaf5bcc7f44303b /tests/multiIncremental
parent8d098f969f5ef67fb15b2b56f44bdd21f7929bc6 (diff)
downloadaspectj-727b0f5356e50761530655b52cbc0a96aff75c05.tar.gz
aspectj-727b0f5356e50761530655b52cbc0a96aff75c05.zip
testcase for pr92837
Diffstat (limited to 'tests/multiIncremental')
-rw-r--r--tests/multiIncremental/PR92837/base/sample/AbstractBase.aj5
-rw-r--r--tests/multiIncremental/PR92837/base/sample/AbstractDerived.java5
-rw-r--r--tests/multiIncremental/PR92837/base/sample/Holder.java5
-rw-r--r--tests/multiIncremental/PR92837/base/sample/Logging.aj7
-rw-r--r--tests/multiIncremental/PR92837/inc1/sample/AbstractDerived.java6
5 files changed, 28 insertions, 0 deletions
diff --git a/tests/multiIncremental/PR92837/base/sample/AbstractBase.aj b/tests/multiIncremental/PR92837/base/sample/AbstractBase.aj
new file mode 100644
index 000000000..272d05377
--- /dev/null
+++ b/tests/multiIncremental/PR92837/base/sample/AbstractBase.aj
@@ -0,0 +1,5 @@
+package sample;
+
+public abstract aspect AbstractBase {
+ protected Holder member;
+} \ No newline at end of file
diff --git a/tests/multiIncremental/PR92837/base/sample/AbstractDerived.java b/tests/multiIncremental/PR92837/base/sample/AbstractDerived.java
new file mode 100644
index 000000000..102ea2597
--- /dev/null
+++ b/tests/multiIncremental/PR92837/base/sample/AbstractDerived.java
@@ -0,0 +1,5 @@
+package sample;
+
+public abstract aspect AbstractDerived extends AbstractBase {
+ Object x = getLogger();
+} \ No newline at end of file
diff --git a/tests/multiIncremental/PR92837/base/sample/Holder.java b/tests/multiIncremental/PR92837/base/sample/Holder.java
new file mode 100644
index 000000000..7051652c0
--- /dev/null
+++ b/tests/multiIncremental/PR92837/base/sample/Holder.java
@@ -0,0 +1,5 @@
+package sample;
+
+public interface Holder {
+
+} \ No newline at end of file
diff --git a/tests/multiIncremental/PR92837/base/sample/Logging.aj b/tests/multiIncremental/PR92837/base/sample/Logging.aj
new file mode 100644
index 000000000..e1f5537d5
--- /dev/null
+++ b/tests/multiIncremental/PR92837/base/sample/Logging.aj
@@ -0,0 +1,7 @@
+package sample;
+
+public aspect Logging {
+ declare parents: sample.* && !Logging implements Loggable;
+ public interface Loggable {}
+ public Object Loggable.getLogger() { return null; }
+} \ No newline at end of file
diff --git a/tests/multiIncremental/PR92837/inc1/sample/AbstractDerived.java b/tests/multiIncremental/PR92837/inc1/sample/AbstractDerived.java
new file mode 100644
index 000000000..dfad4661f
--- /dev/null
+++ b/tests/multiIncremental/PR92837/inc1/sample/AbstractDerived.java
@@ -0,0 +1,6 @@
+package sample;
+
+
+public abstract aspect AbstractDerived extends AbstractBase {
+ Object x = getLogger();
+}