Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-dev] Why this point can be traced by call(*.new(..)) but not execution(*.new(..))

because your advice code would have to be woven into the class
FileInputStream which is part of the JDK and hence you do not weave
into it.

Eric

On 16/05/07, Hongfei Zhu <zuhoo@xxxxxxxxxxx> wrote:

Hi, Eric:

Thank you for your advice. However, I am still not clear that why
'FileInputStream f = new FileInputStream("test.tmp")' can not be traced by
using 'execution(*.new(..))' ? Thanks!

Regards,
Hong Fei

________________________________
Invite your mail contacts to join your friends list with Windows Live
Spaces. It's easy! Try it!
_______________________________________________
aspectj-dev mailing list
aspectj-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/aspectj-dev




--
Eric Bodden
Sable Research Group
McGill University, Montréal, Canada


Back to the top