jakarta-bcel-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bob Lee <crazy...@crazybob.org>
Subject Re: Redefining a class on the fly -
Date Wed, 27 Aug 2003 19:32:49 GMT
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


Mime
View raw message