[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [aspectj-users] Weaving classes in rt.jar
- From: Mario Mendez-Lojo <marioml@xxxxxxxxxxxxxxx>
- Date: Thu, 23 Oct 2008 11:59:15 -0500
- Delivered-to: firstname.lastname@example.org
- User-agent: Thunderbird 18.104.22.168 (X11/20080925)
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.
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.
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