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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]