custom packages
Ted Neward
ted at tedneward.com
Thu Nov 1 08:02:51 UTC 2007
> 2) I want to modify the jvm to make it load by default my classes.
>
Dude, that's what I just told you: bootclasspath/p will cause the JVM to
load your classes before those found in rt.jar. If you want to completely
remove the Sun classes, leave rt.jar off the bootclasspath altogether. Try
it. *shrug* Or, don't, and chase the butterfly's tail for a while to
implement something that's already in the JVM. Your time is yours to do what
you will with it. :-)
Ted Neward
Java, .NET, XML Services
Consulting, Teaching, Speaking, Writing
http://www.tedneward.com
> -----Original Message-----
> From: Roger Abelenda [mailto:rabelenda at gmail.com]
> Sent: Tuesday, October 30, 2007 6:29 AM
> To: Ted Neward
> Cc: build-dev at openjdk.java.net
> Subject: Re: custom packages
>
> 1) Ok, thanks, i will search for an other list.
> 2) I want to modify the jvm to make it load by default my classes.
>
> 2007/10/29, Ted Neward <ted at tedneward.com>:
> > (1) This has nothing to do with building the JDK; it's probably more
> > appropriate to a different list.
> > (2) You need make no changes to the JVM to make this happen--simply
> put your
> > code in a directory and point to it at runtime with the -
> Xbootclasspath/p
> > command-line parameter.
> >
> > Ted Neward
> > Java, .NET, XML Services
> > Consulting, Teaching, Speaking, Writing
> > http://www.tedneward.com
> >
> >
> > > -----Original Message-----
> > > From: build-dev-bounces at openjdk.java.net [mailto:build-dev-
> > > bounces at openjdk.java.net] On Behalf Of Roger Abelenda
> > > Sent: Monday, October 29, 2007 7:39 AM
> > > To: build-dev at openjdk.java.net
> > > Subject: custom packages
> > >
> > > Hi there, me again :-). I'm implementing an DatagramSocket and a
> > > datagramPacket and i want to subsitute the ones of the jvm with
> this
> > > ones. If you know: where may i put my code and what shall i do to
> make
> > > it compile when i compile the jvm?, and , what changes i need to do
> to
> > > plug it into the original code to make the jvm call my classes when
> > > somebody calls the original ones?. I thought to change the
> > > classloader.c and the resolve.c. Any other options? thanks.
> > >
> > > No virus found in this incoming message.
> > > Checked by AVG Free Edition.
> > > Version: 7.5.503 / Virus Database: 269.15.12/1098 - Release Date:
> > > 10/29/2007 9:28 AM
> > >
> >
> > No virus found in this outgoing message.
> > Checked by AVG Free Edition.
> > Version: 7.5.503 / Virus Database: 269.15.12/1098 - Release Date:
> 10/29/2007
> > 9:28 AM
> >
> >
> >
>
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.503 / Virus Database: 269.15.12/1098 - Release Date:
> 10/29/2007 9:28 AM
>
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.503 / Virus Database: 269.15.15/1101 - Release Date: 10/31/2007
10:06 AM
More information about the build-dev
mailing list