harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Archie Cobbs <arc...@dellroad.org>
Subject Re: [classlib][NIO|VMI]JNI 1.4 enhancement on ByteBuffer
Date Wed, 14 Jun 2006 13:17:38 GMT
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 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

View raw message