Re: [abc-users] SootClass and abc

From: Eric Bodden <>
Date: Wed, 18 Nov 2009 20:34:15 +0100

Hi Silviu.

When you run an AspectJ program you have to have the abc-runtime.jar
on the classpath. Could it be the case that you are missing this JAR
file and therefore the class loading fails?

If not, then please tell us more about the error that you receive.


Dr. Eric Bodden
Software Technology Group, Technische Universität Darmstadt, Germany
Tel: +49 6151 16-5478    Fax: +49 6151 16-5410
Mailing Address: S2|02 A209, Hochschulstraße 10, 64289 Darmstadt
2009/11/18 silviu andrica <>:
> Hello,
> I was wondering how can I instrument a class when I have the
> corresponding SootClass.
> More exactly, I have a SootClass that I want to instrument with
> Advice.aj, for example. How can I do that? I tried compiling the
> Advice.aj and that works, no errors. Next, I load the class of
> interest through my own developed ClassProvider interface.
> My problem is that if I compile the advice, class loading fails. If I
> don't compile the advice, class loading succeeds.
> Do you have an idea on how to solve this?
> Best regards,
>  Silviu
Received on Wed Nov 18 2009 - 19:34:58 GMT

This archive was generated by hypermail 2.2.0 : Mon Nov 30 2009 - 23:50:10 GMT