aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs
diff options
context:
space:
mode:
authorjhugunin <jhugunin>2003-08-08 01:23:31 +0000
committerjhugunin <jhugunin>2003-08-08 01:23:31 +0000
commit3e5974557278e81a9891edd4269eca39a8d42f43 (patch)
tree3b6198180f7da196f47896ba3d5570bb58ebefe2 /tests/bugs
parentefc1cc47398443b33fe90da11c4cf1d14dc9c108 (diff)
downloadaspectj-3e5974557278e81a9891edd4269eca39a8d42f43.tar.gz
aspectj-3e5974557278e81a9891edd4269eca39a8d42f43.zip
fix and tests for Bugzilla Bug 41123
Weaving failure when using injars
Diffstat (limited to 'tests/bugs')
-rw-r--r--tests/bugs/moreInterfaceLibrary/lib.jarbin0 -> 1458 bytes
-rw-r--r--tests/bugs/moreInterfaceLibrary/lib/ExecutionMonitor.aj6
-rw-r--r--tests/bugs/moreInterfaceLibrary/model/BusObj.java5
-rw-r--r--tests/bugs/moreInterfaceLibrary/model/MonitorBusObj.java7
4 files changed, 18 insertions, 0 deletions
diff --git a/tests/bugs/moreInterfaceLibrary/lib.jar b/tests/bugs/moreInterfaceLibrary/lib.jar
new file mode 100644
index 000000000..0c6f6c26e
--- /dev/null
+++ b/tests/bugs/moreInterfaceLibrary/lib.jar
Binary files differ
diff --git a/tests/bugs/moreInterfaceLibrary/lib/ExecutionMonitor.aj b/tests/bugs/moreInterfaceLibrary/lib/ExecutionMonitor.aj
new file mode 100644
index 000000000..ec2314d14
--- /dev/null
+++ b/tests/bugs/moreInterfaceLibrary/lib/ExecutionMonitor.aj
@@ -0,0 +1,6 @@
+package lib;
+
+public aspect ExecutionMonitor {
+ public interface MonitoredItem {}
+ private void MonitoredItem.record(String eventType, String eventName) {}
+} \ No newline at end of file
diff --git a/tests/bugs/moreInterfaceLibrary/model/BusObj.java b/tests/bugs/moreInterfaceLibrary/model/BusObj.java
new file mode 100644
index 000000000..90efbd79d
--- /dev/null
+++ b/tests/bugs/moreInterfaceLibrary/model/BusObj.java
@@ -0,0 +1,5 @@
+package model;
+
+public class BusObj {
+
+}
diff --git a/tests/bugs/moreInterfaceLibrary/model/MonitorBusObj.java b/tests/bugs/moreInterfaceLibrary/model/MonitorBusObj.java
new file mode 100644
index 000000000..2d5224004
--- /dev/null
+++ b/tests/bugs/moreInterfaceLibrary/model/MonitorBusObj.java
@@ -0,0 +1,7 @@
+package model;
+
+import lib.ExecutionMonitor;
+
+public aspect MonitorBusObj {
+ declare parents: BusObj implements ExecutionMonitor.MonitoredItem;
+} \ No newline at end of file