diff options
author | acolyer <acolyer> | 2005-09-06 13:08:19 +0000 |
---|---|---|
committer | acolyer <acolyer> | 2005-09-06 13:08:19 +0000 |
commit | 71771abbb2d2bac4cd832323c08d9dcad81db2a0 (patch) | |
tree | 4c40bb41dfcd35076a97015549a95eb6382841b1 /tests/bugs150 | |
parent | 8459fc93a9f455b2669ed2a758b10bdc6cd3903a (diff) | |
download | aspectj-71771abbb2d2bac4cd832323c08d9dcad81db2a0.tar.gz aspectj-71771abbb2d2bac4cd832323c08d9dcad81db2a0.zip |
tests and fix for pr108816, args with binding with .. at join point with synthetic arguments
Diffstat (limited to 'tests/bugs150')
-rw-r--r-- | tests/bugs150/pr108816.aj | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/bugs150/pr108816.aj b/tests/bugs150/pr108816.aj new file mode 100644 index 000000000..cfec719ab --- /dev/null +++ b/tests/bugs150/pr108816.aj @@ -0,0 +1,20 @@ +aspect BadAdvice { + after(Object controller) returning (Object foo): + cflow(adviceexecution() && args(controller, ..) && this(BadAdvice)) && + call(Bar+.new(..)) + { + } + + Object around(Object controller) : call(* whoKnows()) && target(controller) + { + return new Bar(); + } + + public static void main(String args[]) { + (new Bar()).whoKnows(); + } +} + +class Bar { + void whoKnows() {} +}
\ No newline at end of file |