Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] Weaving into Java System Libs

As far as I know you are looking for the Load-Time Weaving. I had more or less the same problem and solved it with LTW. I'm afraid you cannot weave system libraries at compile time.

Hope this helped you.

2009/7/22 Nikolas Nehmer <nnehmer@xxxxxxxxxxxxxxxxxxxx>
Hi there,

I'm new to AOP and AspectJ in particular. Today I started exploring some simple HelloWorld style example aspects. As far as I can tell, everything seems to work smoothly. But currently I have one issue. Is there any chance of weaving bytecode into the java systems libraries (e.g. java.lang.System,…) by “exploiting” AspectJ? I’m trying to circumvent writing my own bytecode instrumentation component. Any ideas?

Best regards,

Nick

_______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/aspectj-users


Back to the top