diff options
author | jhugunin <jhugunin> | 2004-01-28 00:36:05 +0000 |
---|---|---|
committer | jhugunin <jhugunin> | 2004-01-28 00:36:05 +0000 |
commit | 6cceb1b9c3b53e92166d61435f28318e2b9a8872 (patch) | |
tree | be2ceede849425dd4a40f9b103a059190b90d589 /tests/new/InitializerTest.java | |
parent | 098317da0a9bf6b3b12ca3f75c20b74fe42c0374 (diff) | |
download | aspectj-6cceb1b9c3b53e92166d61435f28318e2b9a8872.tar.gz aspectj-6cceb1b9c3b53e92166d61435f28318e2b9a8872.zip |
fix for Bugzilla Bug 49295
duplicate warning or second join point for constructor-execution
Diffstat (limited to 'tests/new/InitializerTest.java')
-rw-r--r-- | tests/new/InitializerTest.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/new/InitializerTest.java b/tests/new/InitializerTest.java index 52f2d93af..31b5ca698 100644 --- a/tests/new/InitializerTest.java +++ b/tests/new/InitializerTest.java @@ -81,10 +81,10 @@ aspect A issingleton () { before(I i): initialization(I.new()) && this(i) { Tester.checkEqual(((C)i).state, "C-constructed", thisJoinPoint.toString()); } - before(I i): execution(I.new()) && this(i) { - Tester.checkEqual(((C)i).state, "C-constructed", thisJoinPoint.toString()); - Tester.note("constructed I"); - } +// before(I i): execution(I.new()) && this(i) { +// Tester.checkEqual(((C)i).state, "C-constructed", thisJoinPoint.toString()); +// Tester.note("constructed I"); +// } after(I i): initialization(I.new()) && this(i) { Tester.checkEqual(((C)i).state, "C-constructed", thisJoinPoint.toString()); Tester.note("initialized I"); @@ -100,7 +100,7 @@ public class InitializerTest { Tester.check("constructed SubC"); Tester.check("initialized I"); - Tester.check("constructed I"); + //Tester.check("constructed I"); Tester.check("static initialized C"); Tester.check("static initialized SubC"); |