]> source.dussan.org Git - aspectj.git/commitdiff
Fix for Bugzilla Bug 74279
authoraclement <aclement>
Fri, 1 Oct 2004 07:19:14 +0000 (07:19 +0000)
committeraclement <aclement>
Fri, 1 Oct 2004 07:19:14 +0000 (07:19 +0000)
   -showWeaveInfo option is not supported by iajc Ant task

taskdefs/testdata/DoSomeWeaving.java [new file with mode: 0644]
taskdefs/testdata/showweaveinfo.lst [new file with mode: 0644]

diff --git a/taskdefs/testdata/DoSomeWeaving.java b/taskdefs/testdata/DoSomeWeaving.java
new file mode 100644 (file)
index 0000000..352602d
--- /dev/null
@@ -0,0 +1,16 @@
+class DoSomeWeaving {
+  public static void main(String[] argv) {
+    new DoSomeWeaving().sayHi();
+  }
+
+
+  public void sayHi() {
+    System.err.println("hi");
+  }
+}
+
+aspect A1 {
+  before(): call(* *(..)) && !within(A1) {
+    System.err.println("Just about to make a call");
+  }
+}
diff --git a/taskdefs/testdata/showweaveinfo.lst b/taskdefs/testdata/showweaveinfo.lst
new file mode 100644 (file)
index 0000000..f1ef82d
--- /dev/null
@@ -0,0 +1 @@
+DoSomeWeaving.java\r