>From: Vojta Filip <[EMAIL PROTECTED]>
>
>So, what I need to initialize in Classpath? I do not need call anything
>like initializeSystemClass and main() I can (or must?) run by
>MainThread. And what else?
>
Welcome!
As far as we can tell so far, Classpath has no initialization order
required, beyond the standard Sun class loading policy. As long as your VM
calls static initializers on classes when are loaded, everything should
happen automatically.
There are a few (very few, actually) places where you will need to call back
into Classpath in order to get something done. When Classpath goes to 1.2
support, there will be even more places. But right now, there are only a
few, and those places are documented in our VM Integration Guide.
Also, to integrate with Classpath, there is a set of Java classes you will
have to write--this is called the VM Interface, and you can find an initial
set of classes at vm/reference/*. This particular set of classes is
actually the set that works with Japhar.
You can find the VM Integration Guide at
http://www.gnu.org/software/classpath/doc/vmintegration.html. It really is
the best place to start figuring out how to do this. Let us know especially
if you find out any more things you have to fudge around with to port to
Classpath.
Good luck!
--John Keiser
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com