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 <[email protected]> > 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 > [email protected] > https://dev.eclipse.org/mailman/listinfo/aspectj-users >
_______________________________________________ aspectj-users mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/aspectj-users
