Special cases
Prev | Chapter 12. Load-Time Weaving | Next

## Special cases

Those classes are not exposed to the LTW infrastructure, no matter the configuration of the `aop.xml` file(s):

- All `org.aspectj.*` classes (and subpackages) - as those are needed by the infrastructure itself
- All `java.*` and `javax.*` classes (and subpackages)
- All `sun.reflect.*` classes - as those are JDK specific classes used when reflective calls occurs

Despite these restrictions, it is perfectly possible to match call join points for calls to these types providing the calling class is exposed to the weaver. Subtypes of these excluded types that are exposed to the weaver may of course be woven.

Note that dynamic proxy representations are exposed to the LTW infrastructure and are not considered a special case.

Prev | Home | Next
Configuration | Up | Runtime Requirements for Load-time Weaving