Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] Weaving classes in rt.jar

As far as I know, prepending the bootclasspath is the only solution to
this problem. You don't necessarily have to use the JDK sources, you
can do binary weaving.
I should have said that weaving the bytecode is not allowed either, since it again implies prepending a modified version of the whole rt.jar (around 50MB) to the boot classpath.

What I'm trying to do in my app is essentially modify the behavior of the JDK classes *without* having to tell the user "install my Java app...and, by the way, download this 50MB file and replace your rt.jar with it"

Solving the problem at load time seems to be the only solution, but maybe I'm missing something.




Back to the top