|
Advertisement
|
This page contains an archived post to the Design Forum (formerly called the Flexible Java Forum) made prior to February 25, 2002.
If you wish to participate in discussions, please visit the new
Artima Forums.
Message:
Solution for Reloading class files
Posted by Anay Tamhankar on March 01, 2001 at 11:34 PM
Hi, A ClassLoader always caches the classes it previously loaded and are found using the method findLoadedClass. There is no way to unregister a class in a classloader. So if u want to reload a class from the disk the only way is to create a new Instance of the Class Loader itself and load the changed class file using the new object.
Replies:
|