[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-dev] Support for runtime-unweaving?

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.

Andy

2009/5/18 Eric Bodden <eric.bodden@xxxxxxxxxxxxxx>:
> 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
> _______________________________________________
> aspectj-dev mailing list
> aspectj-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/aspectj-dev
>