>From what I understand it, this would require the VMs to run in remote debug mode. This is a good start - but, I was looking more for something that could do in a real production environment.
Is there a way to trick the VM into forcing a class to be garbage collected, and re-initiate it? Would it be possible to force a GC of a class while there are still objects instantiated from it? It kinda seems impossible to me - but just wanted to air the idea for comments. Thanks, Naveen Flexetech Solutions, Inc. http://www.flexetech.com -----Original Message----- From: Bob Lee [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 27, 2003 3:33 PM To: BCEL Users List Subject: Re: Redefining a class on the fly - Sure, using the JPDA. Actually, Daniel Savarese wrote an article describing your exact case: http://www.ftponline.com/javapro/2002_09/magazine/columns/proshop/ Bob On Wednesday, August 27, 2003, at 01:44 PM, Naveen Kuppili wrote: > All, > > Is there a way to redefine a class on the fly? I know that we could > have > custom classloaders that could potentially modify byte code on the fly > while loading a class. But, would it be possible to dynamically unload > the class and redefine it? I want to have a way of "rolling back" my > changes that have been done to a class. > > Any thoughts on this? > > Thanks, > Naveen > Flexetech Solutions, Inc. > http://www.flexetech.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
