Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] Weaving core Java classes

Hello, Hendrik.

There may be "hacks" to get around this, but to my best knowledge,
ajc's load time weaver does share those limitations. I have heard of
people though who successfully wove into rt.jar statically. Whether
this works or not probably depends on what your aspect does, though.


On 17/03/2008, Hendrik <slackiz@xxxxxxxxxxxx> wrote:
> Hi,
>  I just found out recently that in Java, a custom class loader cannot
>  load core Java classes, i.e. classes located in java.* -- an exception
>  will be thrown if we attempt to do this.
>  So, I was wondering whether the same limitation also applies to AspectJ?
>  For example, can inter-type declarations be applied to java.lang.Object?
>  Thanks,
>  Hendrik
>  _______________________________________________
>  aspectj-users mailing list
>  aspectj-users@xxxxxxxxxxx

Eric Bodden
Sable Research Group
McGill University, Montréal, Canada

Back to the top