Community
Participate
Working Groups
The WeavingURlClassLoader needs to be updated to work with the most recent version of ApsectJ so that it can be used by AJDT to provide IDE support for load time weaving.
for M4
Raising to P2, need to get this into the code base very soon.
Created attachment 28230 [details] Enhanced WeavingURLClassLoader Patches loadtime: WeavingURLClassLoader (add) org.aspectj.ajdt.core: AjcTestCase testing: XMLBasedAjcTestCase tests: LTW reweavable test weaver: WeavingURLClassLoader (remove)
Changes 1. Moved WeavingURLClassLoader and accompanying test from weaver to loadtime project so that it can use ClassLoaderWeavingAdaptor. 2. Changed WeavingURLClassLoader to use ClassLoaderWeavingAdaptor when no aspect URLs supplied, otherwise use WeavingAdaptor. 3. Enhanced XMLBasedAjcTestCase to support LTW using modified WeavingURLClassLoader. This is provide at least one use-case in the harness. Added a simple reweavable test Patches loadtime: WeavingURLClassLoader (add) org.aspectj.ajdt.core: AjcTestCase testing: XMLBasedAjcTestCase tests: LTW reweavable test weaver: WeavingURLClassLoader (remove)
Patch applied - only thing I changed was that although the WeavingURLClassLoaderTest was moved across to a different module, it wasn't added to the root test class for that module - I've now put it into LoadtimeModuleTests. waiting on build before closing.
build available.