[ http://issues.apache.org/jira/browse/HARMONY-1122?page=all ]
Paulex Yang closed HARMONY-1122.
--------------------------------
Verified by Richard.
> [classlib][luni] RandomAccessFile.read(byte[],int,int) method should not throw IOExcepiton
when the RandomAccessFile is closed
> ------------------------------------------------------------------------------------------------------------------------------
>
> Key: HARMONY-1122
> URL: http://issues.apache.org/jira/browse/HARMONY-1122
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Reporter: Richard Liang
> Assigned To: Paulex Yang
> Priority: Minor
> Attachments: Harmony-1122.diff
>
>
> Hello,
> RandomAccessFile.read(byte[],int,int) method should not throw IOExcepiton when the RandomAccessFile
is closed. If we invoke read(buf,0,0) when the RandomAccessFile is closed, RI just return
0 but Harmony throws IOException.
> I will attach a patch to fix this bug.
> Best regards,
> Richard
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
|