[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [aspectj-users] Weaving classes in rt.jar
- From: Alex Villazon <alex.villazon@xxxxxxxxxxx>
- Date: Thu, 23 Oct 2008 18:56:51 +0200
- Delivered-to: email@example.com
Please check our paper about aspect weaving in the JDK
We are planning a binary demo release within 1 month, and an open
source release in early 2009.
The underlaying instrumentation framework (FERRARI) is described
The framework is also used by a cross-profiler for embedded Java
processors (a paper appears in CASES 2008),
and a binary demo release can be downloaded from:
On Oct 23, 2008, at 6:33 PM, Mario Mendez-Lojo wrote:
I'm trying to weave the classes in rt.jar. For instance, I would
like to log
every call to the method HashSet.add(). Tracking calls from client
work, since there might be calls to HashSet.add() from within rt.jar.
The constraint is that I cannot weave the JDK source, generate a new
prepend it to the bootclasspath.
Therefore, LTW seems to be the solution -- but I understand that
AspectJ is a
Java app that it has to be loaded *after* rt.jar is loaded (chicken
and the egg
kind of thing).
I guess that reloading + weaving is the only possibility left -- is
to weave classes in rt.jar after they have been loaded ? Can you
please point at
an example so I can see how that works?
Thank you very much!!!!!!!
aspectj-users mailing list