Re: Instrumenting java.lang.

Guy Korland <[email protected]>
Newsgroups gmane.comp.java.objectweb.asm
Message-ID <[email protected]>
Hi Nikolas,

You should check DeuceSTM project http://www.deucestm.org
Deuce is instrumenting the code providing an event for each field access.
It provides an open API that can be easily used for logging.
As for the java.lang classes these should be instrumented offline and set in
the bootclasspath.


Regards,
Guy Korland


On Thu, Mar 4, 2010 at 6:07 PM, <[email protected]> wrote:

>
> Hi there,
>
> I'm new tothis list and hopefully this is the right place to post my
> question.
>
> I'm using ASM to instrument Java classes for logging purposes (variable
> assignments etc.). Consequently I'm instrumenting the Java classes with
> some
> additional calls into my logging component. Everything works fine as long
> as I
> don't try to instrument the Java Core classes. If I try to do so a
> ClassDefNotFoundException is raised during runtime. Obvisously this seems
> to be
> a classpath problem. As long as the instrumentation stays within the
> boundaries
> of my testapp everything works out perfectly. As soon as I try to access
> the
> logging component from within the Java packages the exception is raised.
> Any
> ideas how to solve that issue?
>
> Best regards,
> Nikolas
>
>
> --
> You receive this message as a subscriber of the [email protected] mailing list.
> To unsubscribe: mailto:[email protected]
> For general help: mailto:[email protected]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
>
>
message-footer.txt (text/plain, 238 B)
-- 
You receive this message as a subscriber of the [email protected] mailing list.
To unsubscribe: mailto:[email protected]
For general help: mailto:[email protected]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.