Community
Participate
Working Groups
This patch to the ClassLoaderWeavingAdaptor adds two optimizations when enabled is false for the adaptor: it immediately returns false for accept and it also avoids the overhead of constructing a weaver or world. It also contains commented out code that was letting me improve performance by loading reflective proxies instead of creating BCEL objects for a resolution loader (which is currently broken since reflective proxies now require a ReflectionWorld...)
Created attachment 30279 [details] patch as described
Created attachment 30364 [details] Fixed patch Nice fix. Unfortunately it crashed and burned in the harness because the test on the "enabled" flag needs to be made in WeavingAdaptor.weaveClass(). I have made the necessary changes and all the tests now pass.
patch checked in. waiting on build.
available in latest dev build.