Community
Participate
Working Groups
I've implemented a classloader which does the weaving at the bytecode level at class loading time. Therefore I used the weaving functionality implemented in the weaver project of AspectJ. To implement the classloader I made some minor API changes (mostly setting a method from private or package to public) and added a few methods. I would be great if the changes could be integrated into the head AspectJ project. One method I added to BcelWeaver is still non-optimal. The new method "weaveWithoutDump" contains a lot of duplicated code from the "weave" method (with the same parameters). I will refactor this in the near future. Thanks!!! -Martin
Created attachment 3264 [details] patch file for weaver project
applied patch with no issues. Made some internal modifications to avoid duplicating code in weave method, but left the public weaveWithoutDump method in place at least for now.