★ wanayoo — archive 1999 http://www.gnu.org/software/classpath/doc/vmintegration.htmlNouvelle recherche | Portail wanayoo

GNU Classpath VM Integration Guide

John Keiser
C. Brian Jones


Table of Contents


Introduction

The Classpath Project's ambition to be a 100% clean room implementation of the standard Java class libraries cannot be fulfilled without some level of integration with the Virtual Machine, the underlying machinery that actually runs Java.

There are several VMs out there, here is a small list.

Current integration efforts are focused mainly on Japhar with an eye towards getting Electrical Fire to work. All information contained in this document is gleaned from these efforts.

Initialization

The order of initialization, as far as I can tell, doesn't matter just yet. However, when we move to 1.2 support, it probably will matter, so we'll have a note in here at that time.

Classpath Hooks

Several core classes must be implemented by the VM for Classpath to work. These classes are:

You also need to implement some helper classes in java.lang that classes from Classpath call out to to get certain VM-specific dirty work done:

Some of the classes you implement for the VM will need to call back to package-private methods in Classpath:

VM Hooks

VMs need to do some dirty work; there are some things in the VM that unfortunately are dependent on the internal structure of various classes. This is a guide to all of the things the VM itself needs to know about classes.


This document was generated on 6 January 2001 using the texi2html translator version 1.54.


Return to GNU's home page.

Please send FSF & GNU inquiries & questions to gnu@gnu.org. There are also other ways to contact the FSF.

Please send comments on these web pages to webmasters@www.gnu.org, send other questions to gnu@gnu.org.

Copyright (C) 1999 Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA

Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved.

Updated: 06 Jan 2001 unknown