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

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

[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
            Priority: Minor


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

        

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

Posted by "Paulex Yang (JIRA)" <ji...@apache.org>.
     [ 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

        

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

Posted by "Richard Liang (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-1122?page=all ]

Richard Liang updated HARMONY-1122:
-----------------------------------

    Attachment: Harmony-1122.diff

Hello,

Would you please try this patch? Thanks a lot.

Best regards,
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
>            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

        

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

Posted by "Paulex Yang (JIRA)" <ji...@apache.org>.
     [ 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

        

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

Posted by "Paulex Yang (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-1122?page=all ]

Paulex Yang reassigned HARMONY-1122:
------------------------------------

    Assignee: Paulex Yang

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

        

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

Posted by "Richard Liang (JIRA)" <ji...@apache.org>.
    [ 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