RandomAccessFile#write method use native writeBytes method that declared on io_util.c. The writeBytes method could throw an IndexOutOfBoundsException, but the javadoc of RandomAccessFile#write doesn't have "@throws IndexOutOfBoundsException".
In a similar case, RandomAccessFile#read has a javadoc of "@throws IndexOutOfBoundsException".
The javadoc for RandomAccessFile#write is missing an exception.
In a similar case, RandomAccessFile#read has a javadoc of "@throws IndexOutOfBoundsException".
The javadoc for RandomAccessFile#write is missing an exception.
- csr for
- 
                    JDK-8276168 RandomAccessFile#write method could throw IndexOutOfBoundsException that is not described in javadoc -           
- Closed
 
-         
 
        