Project: AspectJ
Bug 120739 LTW Optimization: Disable World if it has No Aspects
Reported: 2005-12-13 16:10:55 | Status: resolved fixed

This optimization disables weaving for a ClassLoader where there are no aspects defined. This is actually useful if you have aspect exclusions that exclude all the aspects defined in a parent class loader. It is also helpful in the trivial/rare case where there is an aop.xml definition with no aspect definitions.

Files changed in fix:
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java tests/java5/ataspectj/ataspectj/ltwreweavable/EmptyAtAspect.java tests/src/org/aspectj/systemtest/ajc152/Ajc152Tests.java