Hi

> > How does tomcat unload classes?
> It doesn't, at least not directly.  Tomcat simply eliminates all
references to the classes; the actual unloading is done by GC at some point
in the future.

> > Is there even a way in java to do this?
> Just the above.  But making the classes unreachable should be adequate for
whatever purpose you have in mind.

This does not hold, as soon as Threads are involved, right?

Regards,
  Steffen

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to