You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bcel-user@jakarta.apache.org by Abel Wang <ab...@nvisionsoftware.net> on 2004/04/21 07:12:37 UTC
Dynamically instrumenting core java classes
Hi guys,
I'm trying to do some preprocessor instrumentation on some core java classes
and am running into problems. What I've done so far is modify
java.lang.Classloader to instrument my classes. Works like a charm on
anything non core. So my question to you guys is how are you doing
preprocessor instrumentation? And how can I instrument core classes?
Thanks,
--Abel
---------------------------------------------------------------------
To unsubscribe, e-mail: bcel-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: bcel-user-help@jakarta.apache.org
Re: Dynamically instrumenting core java classes
Posted by Erik Corry <er...@arbat.com>.
On Fri, Apr 23, 2004 at 12:29:07AM +0200, Laurent Martelli wrote:
> >>>>> "Abel" == Abel Wang <ab...@nvisionsoftware.net> writes:
>
> Abel> Hi guys, I'm trying to do some preprocessor instrumentation on
> Abel> some core java classes and am running into problems. What
> Abel> I've done so far is modify java.lang.Classloader to instrument
> Abel> my classes. Works like a charm on anything non core. So my
> Abel> question to you guys is how are you doing preprocessor
> Abel> instrumentation? And how can I instrument core classes?
>
> I think you can't. Unless you use hotswap.
See http://anaisoft.unige.ch/public-documents/deliverables/Diploma-Vidal.pdf
--
Erik Corry I'd be a Libertarian, if they weren't all a
erik@arbat.com bunch of tax-dodging professional whiners. - B. Breathed.
---------------------------------------------------------------------
To unsubscribe, e-mail: bcel-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: bcel-user-help@jakarta.apache.org
Re: Dynamically instrumenting core java classes
Posted by Laurent Martelli <la...@aopsys.com>.
>>>>> "Abel" == Abel Wang <ab...@nvisionsoftware.net> writes:
Abel> Hi guys, I'm trying to do some preprocessor instrumentation on
Abel> some core java classes and am running into problems. What
Abel> I've done so far is modify java.lang.Classloader to instrument
Abel> my classes. Works like a charm on anything non core. So my
Abel> question to you guys is how are you doing preprocessor
Abel> instrumentation? And how can I instrument core classes?
I think you can't. Unless you use hotswap.
--
Laurent Martelli
laurent@aopsys.com Java Aspect Components
http://www.aopsys.com/ http://jac.objectweb.org
---------------------------------------------------------------------
To unsubscribe, e-mail: bcel-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: bcel-user-help@jakarta.apache.org