diff options
author | aclement <aclement> | 2008-05-02 02:20:24 +0000 |
---|---|---|
committer | aclement <aclement> | 2008-05-02 02:20:24 +0000 |
commit | 6df42fc2fca5a3074880dbc57b92ed7bdb238937 (patch) | |
tree | 0edbf268aa6fa2f446cebc5a6ba3b73116f8a1e8 /tests/bugs161 | |
parent | 85af57c52f16fb27506ed109681a7098ae73b197 (diff) | |
download | aspectj-6df42fc2fca5a3074880dbc57b92ed7bdb238937.tar.gz aspectj-6df42fc2fca5a3074880dbc57b92ed7bdb238937.zip |
229910 - dont generate bad code for around advice on fieldset for an inherited field
Diffstat (limited to 'tests/bugs161')
-rw-r--r-- | tests/bugs161/pr229910/Test.java | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/tests/bugs161/pr229910/Test.java b/tests/bugs161/pr229910/Test.java new file mode 100644 index 000000000..139ce636b --- /dev/null +++ b/tests/bugs161/pr229910/Test.java @@ -0,0 +1,31 @@ +public class Test { + + public static void main(String[] argv) { + new Foo(); + } + +} + +interface I {} + +abstract class AbstractFoo implements I { + + String f; + + AbstractFoo() { + } +} + +class Foo extends AbstractFoo { + + Foo() { + super(); + f = "hello"; + } +} + +aspect X { + + void around(): target(I) && set(* *) { proceed(); } + +} |