diff options
author | aclement <aclement> | 2006-06-28 09:16:01 +0000 |
---|---|---|
committer | aclement <aclement> | 2006-06-28 09:16:01 +0000 |
commit | 21e06a69892469bab688d2315e7e034047431082 (patch) | |
tree | 2220f50d7955df66d7ee3e5cb0d32ba3eeaeadf9 /tests/bugs152/pr148727 | |
parent | b59b036af89c28616efeda9b4cef1043c34337d6 (diff) | |
download | aspectj-21e06a69892469bab688d2315e7e034047431082.tar.gz aspectj-21e06a69892469bab688d2315e7e034047431082.zip |
test and fix for 148727 - reverse synthetic changes for aspectOf() and hasAspect()
Diffstat (limited to 'tests/bugs152/pr148727')
-rw-r--r-- | tests/bugs152/pr148727/Asp.aj | 2 | ||||
-rw-r--r-- | tests/bugs152/pr148727/Client.java | 7 |
2 files changed, 9 insertions, 0 deletions
diff --git a/tests/bugs152/pr148727/Asp.aj b/tests/bugs152/pr148727/Asp.aj new file mode 100644 index 000000000..446fb5849 --- /dev/null +++ b/tests/bugs152/pr148727/Asp.aj @@ -0,0 +1,2 @@ +public aspect Asp { +} diff --git a/tests/bugs152/pr148727/Client.java b/tests/bugs152/pr148727/Client.java new file mode 100644 index 000000000..2ced473f4 --- /dev/null +++ b/tests/bugs152/pr148727/Client.java @@ -0,0 +1,7 @@ +public class Client { + public static void main(String argz[]) { + if (!Asp.hasAspect()) + throw new RuntimeException("ou est le aspect?"); + System.out.println("Can call aspectOf? "+Asp.aspectOf()); + } +} |