Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [aspectj-users] possible to advise java.lang.Vector?

I seem to recall that the J2SE license says you cannot re-distribute modified system classes.
Since this would be only for educational purposes, I believe that's OK (I hope - of course,
IANAL applies ... ;-)
-----Original Message-----
From: Dale Asberry [mailto:lists@xxxxxxxxxxxxxxx]
Sent: Wednesday, May 07, 2003 4:04 PM
To: michael.norman@xxxxxxxxxx
Subject: Re: [aspectj-users] possible to advise java.lang.Vector?

We've discussed using AspectJ to advise the Java 2 platform (and other standard libraries) and the standard license agreement pretty clearly does not allow weaving bytecode into the standard libraries. If you are wondering if it is theoretically possible, I would suspect that it is.

-------Original Message-------
> From: Mike Norman
> Subject: [aspectj-users] possible to advise java.lang.Vector?
> Sent: 07 May 2003 14:48:00
>  
> Is it possible to
> advise java.lang.Vector? I would like to put a hook in:
>  
>    
> private void ensureCapacityHelper(int minCapacity)
>
> so that I can count
> the number of times a Vector goes through a growth regime.
>  
> Thanks in
> advance,
> ---
> Mike Norman
> Senior Software
> Designer
> TopLink Product
> Oracle Canada Inc., 50 O’Connor, Suite
> 1301
> Ottawa, Ontario K1P 6L2 Canada
> (613) 288-4638
>
>  
-------Original Message-------



Back to the top