[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [aspectj-dev] Support for runtime-unweaving?
- From: Andy Clement <andrew.clement@xxxxxxxxx>
- Date: Tue, 19 May 2009 08:23:06 -0700
- Delivered-to: firstname.lastname@example.org
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=ZcnPgaNgBsMHPRBt+FbjDky5S1R51Ubr4SMvlELF3ifgc8Ndt7574zbeZr3KoOnQbK sC5x/RF2TY5g/x3XOFOEnnPnau53QS3Sc1GR3BYJYhRuq/WR/POWrRaBelhZVU3p0yox GwkYsoik7XTjiWeLoyPDkhLKqD/opqL7FJ9gs=
Some users have played around with hotswap replacement of woven
classes (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=120375 )
but that was just through the redefinition path in
transformClasses(..), not through redefineClasses(..). There is a
patch in that bug if you want to try that mechanism out. There are no
other open enhancement requests to do anything in this area.
2009/5/18 Eric Bodden <eric.bodden@xxxxxxxxxxxxxx>:
> Since AspectJ supports load-time weaving using an agent, I was
> wondering if one could use redefineClasses(..) to actually "un-weave",
> or at least disable advice applications at runtime. See here for a
> definition of this method: http://tinyurl.com/p63vep
> As far as I can see one may only replace method bodies but that should
> be enough to un-weave advice applications, should'n it? Are there any
> plans to support this in the near future?
> Eric Bodden
> Sable Research Group, McGill University
> Montréal, Québec, Canada
> aspectj-dev mailing list