Return-Path: Delivered-To: apmail-incubator-harmony-dev-archive@www.apache.org Received: (qmail 84067 invoked from network); 14 Jun 2006 13:18:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 14 Jun 2006 13:18:16 -0000 Received: (qmail 27603 invoked by uid 500); 14 Jun 2006 13:18:11 -0000 Delivered-To: apmail-incubator-harmony-dev-archive@incubator.apache.org Received: (qmail 27533 invoked by uid 500); 14 Jun 2006 13:18:10 -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 27479 invoked by uid 99); 14 Jun 2006 13:18:10 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Jun 2006 06:18:10 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: unknown (asf.osuosl.org: error in processing during lookup of archie@dellroad.org) Received: from [216.239.128.26] (HELO smtp.omnis.com) (216.239.128.26) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Jun 2006 06:18:09 -0700 Received: from [10.2.2.50] (24-158-230-170.dhcp.leds.al.charter.com [24.158.230.170]) by smtp-relay.omnis.com (Postfix) with ESMTP id 50E642006B24 for ; Wed, 14 Jun 2006 06:17:44 -0700 (PDT) Message-ID: <44900C72.90007@dellroad.org> Date: Wed, 14 Jun 2006 08:17:38 -0500 From: Archie Cobbs User-Agent: Mozilla Thunderbird 1.0.8 (X11/20060411) X-Accept-Language: en-us, en MIME-Version: 1.0 To: harmony-dev@incubator.apache.org Subject: Re: [classlib][NIO|VMI]JNI 1.4 enhancement on ByteBuffer References: <448EA04B.3060000@gmail.com> <448EBADE.3000001@dellroad.org> <448F7CAD.9090009@gmail.com> In-Reply-To: <448F7CAD.9090009@gmail.com> Content-Type: text/plain; charset=gb18030; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Paulex Yang wrote: > But after all, the implementation details(class name, fields/methods, > etc) are different, so the idea is to provide the three JNI methods' > implementation in NIO module, and add them into VMI, so that VM vendor > can choose to add them into the JNI function table. I think this will > make it easier to integrate Harmony classlib and multi VMs. This seems like a good approach. The VM can just add the classlib-provided function pointers to its JNI invoke table and not need to know anything else. Of course, the classlib implementations will have to be written as JNI functions (they can't use "direct" access to the objects or classes) but that's fine. -Archie __________________________________________________________________________ Archie Cobbs * CTO, Awarix * http://www.awarix.com --------------------------------------------------------------------- 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