Hi It has been stated several times that you can not use the Socket.getInetAddress.getLocalHost(..)) syntax. What you have written is Java syntax, not AspectJ. You need to use InetAdress.getLocalHost, and optionally add a clause for cflow(Socket) Hermod
________________________________ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Neeraja Maniyani Sent: Thursday, June 26, 2008 11:32 AM To: [email protected] Subject: [aspectj-users] help on pointcuts weaving I have mistaken the previous result shown in the decompiled class file..It is obviuos that the advice got woven at that many points. But for this point cut, call(public * Socket.getInetAddress.getLocalHost(..)) && withincode(public * testSockets.*(..)); I am still not able to weave in the advice.Is there any other way to call these methods. thanks. neeraja. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * This email with attachments is solely for the use of the individual or entity to whom it is addressed. Please also be aware that the DnB NOR Group cannot accept any payment orders or other legally binding correspondence with customers as a part of an email. This email message has been virus checked by the anti virus programs used in the DnB NOR Group. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
_______________________________________________ aspectj-users mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/aspectj-users
