[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[List Home]
|
[aspectj-users] getting 'around' constructor execution
|
- From: danny <danny.foncke@xxxxxxxx>
- Date: Tue, 18 Sep 2007 10:57:22 +0200
- Delivered-to: aspectj-users@eclipse.org
- User-agent: Thunderbird 1.5.0.2 (Windows/20060308)
the advice -I just want to see if I enter the advice for now- :
A around(A instance, Type arg): constructor(instance, arg) {
System.out.println("advice A constructor");
return instance ();
}
I get the following error when weaving :
[WeavingURLClassLoader] error at.......incompatible return type applying
to constructor-execution(void A.<init>(Type))
I've tried some other constructs, this is the only one I actually
trigger something, all other don't even try to weave :(
What do do ?
All help appreciated
Danny