Return-Path: Delivered-To: apmail-incubator-harmony-dev-archive@www.apache.org Received: (qmail 47750 invoked from network); 6 Apr 2006 19:43:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 6 Apr 2006 19:43:28 -0000 Received: (qmail 60912 invoked by uid 500); 6 Apr 2006 19:43:24 -0000 Delivered-To: apmail-incubator-harmony-dev-archive@incubator.apache.org Received: (qmail 60868 invoked by uid 500); 6 Apr 2006 19:43:23 -0000 Mailing-List: contact harmony-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: harmony-dev@incubator.apache.org Delivered-To: mailing list harmony-dev@incubator.apache.org Received: (qmail 60857 invoked by uid 99); 6 Apr 2006 19:43:23 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Apr 2006 12:43:23 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of mark.hindess@googlemail.com designates 64.233.166.181 as permitted sender) Received: from [64.233.166.181] (HELO pproxy.gmail.com) (64.233.166.181) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Apr 2006 12:43:23 -0700 Received: by pproxy.gmail.com with SMTP id i49so332072pye for ; Thu, 06 Apr 2006 12:43:02 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=googlemail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=MrRjzK6KFXix9lBQ6JPbbBklkJUDqc13PnWJNVzmL/g/Y032Cd+nlpSkteQb6YRDQKix7NzRDXeBIuj5Amd5Qx1a7oCTpSej84qo9JlPa+KfhN3weRiNc2hBi6CBFVDctuan5aVkfjek0ySjJjE0ZULpvRrHCEZMc02BNA0yXaU= Received: by 10.35.78.9 with SMTP id f9mr1634457pyl; Thu, 06 Apr 2006 12:43:02 -0700 (PDT) Received: by 10.35.63.11 with HTTP; Thu, 6 Apr 2006 12:43:02 -0700 (PDT) Message-ID: Date: Thu, 6 Apr 2006 20:43:02 +0100 From: "Mark Hindess" To: harmony-dev@incubator.apache.org Subject: Re: Porting Harmony classlib to Sablevm In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On 4/6/06, 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 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