[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: JDK tools

On Sat, 01 Jan 2000, Pat wrote:
> Another super, super, super annoying "feature" is the wonderful security
> restriction which prevents classes from being reloaded even when completely
> dereferenced.

Are you sure? I do this in Java 2 by first loading the classes using a separate
class loader. When I want to reload them, I let go of the class loader (set the
reference to null), create a new class loader, then use it to reload my class.
It works fine for me. I tend to use URLClassLoader to load classes.

happy new year,

David Sims               david@simscomputing.com
Sims Computing, Inc.       www.simscomputing.com