Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] Weaving standard libraries

Hi Adrian,

Applications that use this option for the purpose of overriding a class in rt.jar should not be deployed as doing so would contravene the Java 2 Runtime Environment binary code license./

Hmmmm, i'm interested in profiling, so I wonder if this would apply? In a sense the application would only be released in the unmodified form.
I guess I would have to look at the license in more detail.

Cheers,

Dave

cheers,
-adrian.
--
Adrian Powell
Centre for IBM e-Business Innovation :: Vancouver
apowell@xxxxxxxxxx / 604-297-3194


*David Pearce <david.pearce@xxxxxxxxxxxxx>*
Sent by: aspectj-users-admin@xxxxxxxxxxx

10/21/2004 01:02 PM
Please respond to
aspectj-users


	
To
	aspectj-users@xxxxxxxxxxx
cc
	
Subject
	Re: [aspectj-users] Weaving standard libraries


	





Hi Wes,

 > I haven't tried weaving rt.jar; are you having a problem with it?

Not at all!  I'm actually interested in weaving into things like e.g.
java.lang.String or java.lang.Thread and believe that there are certain
limitations on what can be done here.  What i'm looking for is something
telling me exactly what those limitations are.

 > though we recommend against violating any license.

This suggests to me that weaving code into the standard libraries would
be violating someone's license ?

Cheers,

Dave

 > The options for ajc, the combined compiler/weaver, are documented in the
> AspectJ development guide. The load-time weaver is just an adapter to the
 > weaver used by ajc, and to use it you have to specify the aspectpath.
 >
 > More generally, if there's anything you need to know about using AspectJ
> that's not in documentation for AspectJ, please point it out as a doc bug!
 >
 > Thanks-
 > Wes
 >
 >
 >>------------Original Message------------
 >>From: Eric Bodden <eric@xxxxxxxxx>
 >>To: aspectj-users@xxxxxxxxxxx
 >>Date: Thu, Oct-21-2004 0:06 AM
 >>Subject: RE: [aspectj-users] Weaving standard libraries
 >>
 >>
 >>-----BEGIN PGP SIGNED MESSAGE-----
 >>Hash: SHA1
 >>
 >>Hi.
 >>
 >>Generally the JARs you want to weave into have to be in the correct
 >>path parameter (the ASPECTPATH, see
 >>http://www.aspectprogrammer.org/blogs/adrian/2004/10/three_paths_sta.h
 >>tml). I don't know how load-time weaving adresses that, but I would
 >>rather assume that it makes use of the very same path concept. May
 >>anybody clarify this?
 >>
 >>Cheers,
 >>Eric
 >>
 >>David Pearce wrote:
 >>
 >>>Hi everybody,
 >>>
 >>>I have a quick question, which I'm sure has been asked many times
 >>>before.  But, I can't seem to find anything about it on the web or
>>>from searching the archives of this list. >>>
 >>>So, basically, my question is:  what are the limitations of weaving
 >>>when it comes to the java standard libraries?
 >>>
 >>>I understand from the FAQ that AspectJ only weaves code which is
 >>>actually being compiled.  But, if I use a load-time weaver then
>>>this should help somewhat? or not? >>>
 >>>Any pointers/help would be appreciated!
 >>>
 >>>Thanks,
 >>>
 >>>David J. Pearce
 >>>_______________________________________________
 >>>aspectj-users mailing list
 >>>aspectj-users@xxxxxxxxxxx
 >>>http://dev.eclipse.org/mailman/listinfo/aspectj-users
 >>
 >>
 >>
 >>- --
 >>Eric Bodden
 >>Chair I2 for Programming Languages and Program Analysis
 >>RWTH Aachen University
 >>
 >>-----BEGIN PGP SIGNATURE-----
 >>Version: PGP 8.0.3
 >>
 >>iQA/AwUBQXdeo8wiFCm7RlWCEQL86wCeO1+sAMC4b83KNCAS1/u4lD+dZqIAn1QO
 >>19ek8tF3VkBRu+4bSchgNunV
 >>=SYbO
 >>-----END PGP SIGNATURE-----
 >>
 >>
 >>_______________________________________________
 >>aspectj-users mailing list
 >>aspectj-users@xxxxxxxxxxx
 >>http://dev.eclipse.org/mailman/listinfo/aspectj-users
 >>
 >
 >
 >
 > _______________________________________________
 > aspectj-users mailing list
 > aspectj-users@xxxxxxxxxxx
 > http://dev.eclipse.org/mailman/listinfo/aspectj-users
 >

_______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/aspectj-users




Back to the top