harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Hindess" <mark.hind...@googlemail.com>
Subject Re: Porting Harmony classlib to Sablevm
Date Thu, 06 Apr 2006 19:43:02 GMT
On 4/6/06, hadrien@safe-mail.net <hadrien@safe-mail.net> wrote:
>
> Hi,

Hi Hadrien,

> in the Harmony Class Library Porting Documentation, it said that VM
> vendor must implement the kernel classes (like java.lang.Object).
>
> In the kernel classes harmony code, most classes are "skeletons"
> (for exemple Object.hashCode returns zero).

The versions you find in the classlib svn are just stubs for the
classlib to build.

> Does it mean IBM VM intercepts directly all calls to these
> "skeleton" methods to execute them in native code or load kernel
> classes from their own package (in a .zip or .jar) linked with VM
> via native declared methods ?

Yes. The VM vendor is expected to provide the implementations of these
classes.  As you suspected, the IBM VME contains it's implementations in:

  deploy/jre/bin/default/luni-kernel.jar and
  deploy/jre/bin/default/security-kernel.jar.

which are the "real" versions used at runtime.

Regards,
 Mark.

--
Mark Hindess <mark.hindess@googlemail.com>
IBM Java Technology Centre, UK.

---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org


Mime
View raw message