Dan Bornstein wrote: > We aren't currently using portlib. We bottom out directly to > Posix-compatible calls. (Dalvik is only meant to be portable between > Posix-compatible systems, so we don't need yet another porting layer > at that level.)
Just for my own edification... Given that the Harmony class library natives are implemented in terms of the portlib functions [1], either (a) you implemented the portlib functions to work on the Android platform, or (b) changed the natives to call the OS directly. The intention is that new platforms implement the portlib functions and the class library will 'just work' [2], i.e. option (a). Since I understand that Android is based on a Linux 2.6 kernel there should not have been much required to get our Linux version of the core libraries working. [1] https://svn.apache.org/repos/asf/harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/include/shared/hyport.h [2] Some modules, like graphics libraries and authentication, are so tightly coupled to the underlying OS that they do not have a useful portlib abstraction. Regards, Tim
