]> source.dussan.org Git - aspectj.git/commitdiff
more testdata for 1.9
authorAndy Clement <aclement@pivotal.io>
Mon, 25 Sep 2017 05:04:26 +0000 (22:04 -0700)
committerAndy Clement <aclement@pivotal.io>
Mon, 25 Sep 2017 05:04:26 +0000 (22:04 -0700)
tests/bugs190/various/Code.java [new file with mode: 0644]

diff --git a/tests/bugs190/various/Code.java b/tests/bugs190/various/Code.java
new file mode 100644 (file)
index 0000000..8285ca3
--- /dev/null
@@ -0,0 +1,11 @@
+public class Code {
+       public static void main(String []argv) {
+               System.out.println("running");
+       }
+}
+
+aspect X{
+       before(): call(* println(..))  && !within(X) {
+               System.out.println(thisJoinPoint);
+       }
+}