The Proxy from cglib.sourceforge.net is a drop-in
replacement for the java.lang.reflect.Proxy class with
two important extra features:
- It can proxy concrete classes, not just interfaces.
- It can operate under JDK 1.2.2
The attached patch replaces references to the reflect
Proxy with the cglib Proxy.
This does add extra dependencies to mockobjects, in the
form of cglib and the underlying asm code.
CGLib is released under the Apache License. It's
available from http://cglib.sourceforge.net/
ASM is released under LGPL. It's available from
Log in to post a comment.