Tony Burrows wrote:
I need to be able to load different classes at different times. The
problem is that these classes may have the same name. Is there any way to
unload a class at runtime so that it can be replaced with another of the
same name?
Tony
In JDK1.5 thi swill be possible using debugging interface, for now, do
the followin:
1. Create your onw class loader class (just derive from the sun class).
2. New up this class loader and have it load you class
3. When new veriso is needed drop the reference to your own class loader
and do it again.