Fixed RandomAccessFile to update position after reads.

This commit is contained in:
JET 2011-10-24 09:01:17 -06:00
parent 39bee886e3
commit 3b1c769d2b

View File

@ -56,6 +56,8 @@ public class RandomAccessFile {
throw new ArrayIndexOutOfBoundsException();
copy(peer, position, buffer, offset, length);
position += length;
}
private static native void copy(long peer, long position, byte[] buffer,