Hi,
  Yes, you can do that.
If you encounter problems (depending which classes of java.util are woven), you can use MAJOR tool, I announced some minutes ago ;-)

 http://www.inf.unisi.ch/projects/ferrari/MAJOR.html

Cheers,

Alex



On Feb 23, 2009, at 5:41 PM, [email protected] wrote:

Andy thanks for the reply.
Are you suggesting I make a jar file with the java.util. classes I want to advise or where would this jar come from? Excuse me if this is a stupid question but I am a newbie to aspectj and have only done aspects through spring at this point.

Date: Sun, 22 Feb 2009 20:17:27 -0800
Subject: Re: [aspectj-users] advising java.util classes?
From: [email protected]
To: [email protected]

Yes - if binary weaving just supply the jar containing those classes on the -inpath to the ajc call. you will then need to run with the result of that weave on your bootclasspath to ensure it overrides the default versions of the classes. It is also possible with load time weaving but can get messy.

Andy.

2009/2/22 [email protected] <[email protected]>
I would like to advise some classes in the java.util package. Is it possible to advise java language classes?

It's the same HotmailĀ®. If by "same" you mean up to 70% faster. Get your account now.

_______________________________________________
aspectj-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/aspectj-users



Windows Liveā„¢: Discover 10 secrets about the new Windows Live. View post. <ATT00001.txt>

_______________________________________________
aspectj-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/aspectj-users

Reply via email to