harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard Liang (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-1122) [classlib][luni] RandomAccessFile.read(byte[],int,int) method should not throw IOExcepiton when the RandomAccessFile is closed
Date Fri, 11 Aug 2006 03:00:18 GMT
    [ http://issues.apache.org/jira/browse/HARMONY-1122?page=comments#action_12427403 ] 
            
Richard Liang commented on HARMONY-1122:
----------------------------------------

Hello Paulex,

The fix looks fine. Thanks a lot.

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

        

Mime
View raw message