Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] advising java.util classes?

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 ;-)


Cheers,

Alex



On Feb 23, 2009, at 5:41 PM, epicwinter@xxxxxxxxxxx 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: andrew.clement@xxxxxxxxx
To: aspectj-users@xxxxxxxxxxx

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 epicwinter@xxxxxxxxxxx <epicwinter@xxxxxxxxxxx>
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
aspectj-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/aspectj-users




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


Back to the top