You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Paulex Yang (JIRA)" <ji...@apache.org> on 2006/08/10 11:08:15 UTC

[jira] Resolved: (HARMONY-1122) [classlib][luni] RandomAccessFile.read(byte[],int,int) method should not throw IOExcepiton when the RandomAccessFile is closed

     [ http://issues.apache.org/jira/browse/HARMONY-1122?page=all ]

Paulex Yang resolved HARMONY-1122.
----------------------------------

    Resolution: Fixed

Richard, patch applied at revision r430327, thanks a lot for this enhancement, please verify that the problem is fully fixed as you expected.


> [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