[
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 ... ;-)
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 OConnor, Suite
> 1301
> Ottawa, Ontario K1P 6L2 Canada
> (613) 288-4638
>
>
-------Original
Message-------