question: private static int write ( int fd , byte [ ] src , int pos , int len ) throws IOException { int bytes = FileSystem . writeBytes ( fd , src , pos , len ) ; if ( bytes < 0 ) throw new IOException ( "Error code " + Integer . toString ( bytes ) ) ; return bytes ; }
target:  Use JikesRVM's internal read function - the fast way.