| Test whether registering a custom Converter subclass while
a custom context classloader is set causes a memory leak.
This test emulates a j2ee container where BeanUtils has been
loaded from a "common" lib location that is shared across all
components running within the container. The "component" registers
a converter object, whose class was loaded via the component-specific
classloader. The registered converter:
- should not be visible to other components; and
- should not prevent the component-specific classloader from being
garbage-collected when the container sets its reference to null.
|