aboutsummaryrefslogtreecommitdiffstats
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
parent8d098f969f5ef67fb15b2b56f44bdd21f7929bc6 (diff)
downloadaspectj-727b0f5356e50761530655b52cbc0a96aff75c05.tar.gz
aspectj-727b0f5356e50761530655b52cbc0a96aff75c05.zip
testcase for pr92837
-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
-rw-r--r--tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java8
6 files changed, 36 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();
+}
diff --git a/tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java b/tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java
index 67a1bd7b8..2daba1097 100644
--- a/tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java
+++ b/tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java
@@ -285,6 +285,14 @@ public class MultiProjectIncrementalTests extends AjdeInteractionTestbed {
// alter("PR85132","inc1");
// build("PR85132");
// }
+//
+// public void testPr92837() {
+// super.VERBOSE=true;
+// initialiseProject("PR92837");
+// build("PR92837");
+// alter("PR92837","inc1");
+// build("PR92837");
+// }
// ---------------------------------------------------------------------------------------------------