[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[List Home]
|
[aspectj-dev] Support for runtime-unweaving?
|
- From: Eric Bodden <eric.bodden@xxxxxxxxxxxxxx>
- Date: Mon, 18 May 2009 21:48:40 -0400
- Delivered-to: aspectj-dev@eclipse.org
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; bh=6pBc1ElbDmDYw9ckNuuWPozDRKeQOmv01p/sCp9yCDw=; b=QxO7KJst5FP4pBDnREowe/umTck27jtzCtbfLnkEeocz408BjHcyTNL7caRZzp6kSC gvRrBdFi0j2QkO2igFkdFPrXreLA0m3OdUZ417ES1cQPm3G52GG7sypXhAzL1vq5vyoT qPABIFiJyPtcf8F+y+koUKqAxYo6MmZy3rhf0=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type:content-transfer-encoding; b=UbueXwuvsz1/Fi4tccLxc1n025LN6xdc3PjXISo1d1lFh4bR8YmQBGsHnHefaGQHJP v2N9uwuTbyP/z2JuP/mcZwZaME1O3AJ2KlSAfUrtqe/5CrM4wgB+yZYxhOfUBkBScoam S3vay3Qj4nNDlQp3V9vXy+PS5YYGYypT7sS7A=
Hello.
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
--
Eric Bodden
Sable Research Group, McGill University
Montréal, Québec, Canada