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/17 12:25:14 UTC

[jira] Created: (HARMONY-1214) [classlib][luni] java.io.RandomAccessFile#write(byte[], int , int) method's exception order is different from RI's

[classlib][luni] java.io.RandomAccessFile#write(byte[], int , int) method's exception order is different from RI's
------------------------------------------------------------------------------------------------------------------

                 Key: HARMONY-1214
                 URL: http://issues.apache.org/jira/browse/HARMONY-1214
             Project: Harmony
          Issue Type: Bug
          Components: Classlib
            Reporter: Richard Liang


Hello,

java.io.RandomAccessFile#write(byte[], int , int) method's exception order is different from RI's when the byte array is null or the RandomAccessFile is closed .And some testcases are added.

I will attach a patch to fix this issue.

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-1214) [classlib][luni] java.io.RandomAccessFile#write(byte[], int , int) method's exception order is different from RI's

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

Richard Liang updated HARMONY-1214:
-----------------------------------

    Attachment: Harmony-1214.diff

Hello,

Would you please try this patch? Thanks a lot.

Best regards,
Richard

> [classlib][luni] java.io.RandomAccessFile#write(byte[], int , int) method's exception order is different from RI's
> ------------------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-1214
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1214
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Richard Liang
>         Attachments: Harmony-1214.diff
>
>
> Hello,
> java.io.RandomAccessFile#write(byte[], int , int) method's exception order is different from RI's when the byte array is null or the RandomAccessFile is closed .And some testcases are added.
> I will attach a patch to fix this issue.
> 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-1214) [classlib][luni] java.io.RandomAccessFile#write(byte[], int , int) method's exception order is different from RI's

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

Mark Hindess closed HARMONY-1214.
---------------------------------


Verified by Richard.


> [classlib][luni] java.io.RandomAccessFile#write(byte[], int , int) method's exception order is different from RI's
> ------------------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-1214
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1214
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Richard Liang
>         Assigned To: Mark Hindess
>         Attachments: Harmony-1214.diff
>
>
> Hello,
> java.io.RandomAccessFile#write(byte[], int , int) method's exception order is different from RI's when the byte array is null or the RandomAccessFile is closed .And some testcases are added.
> I will attach a patch to fix this issue.
> 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-1214) [classlib][luni] java.io.RandomAccessFile#write(byte[], int , int) method's exception order is different from RI's

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

Mark Hindess reassigned HARMONY-1214:
-------------------------------------

    Assignee: Mark Hindess

> [classlib][luni] java.io.RandomAccessFile#write(byte[], int , int) method's exception order is different from RI's
> ------------------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-1214
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1214
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Richard Liang
>         Assigned To: Mark Hindess
>         Attachments: Harmony-1214.diff
>
>
> Hello,
> java.io.RandomAccessFile#write(byte[], int , int) method's exception order is different from RI's when the byte array is null or the RandomAccessFile is closed .And some testcases are added.
> I will attach a patch to fix this issue.
> 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-1214) [classlib][luni] java.io.RandomAccessFile#write(byte[], int , int) method's exception order is different from RI's

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

Mark Hindess resolved HARMONY-1214.
-----------------------------------

    Resolution: Fixed

Applied in r 432228.  Please check it has been applied as expected.


> [classlib][luni] java.io.RandomAccessFile#write(byte[], int , int) method's exception order is different from RI's
> ------------------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-1214
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1214
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Richard Liang
>         Assigned To: Mark Hindess
>         Attachments: Harmony-1214.diff
>
>
> Hello,
> java.io.RandomAccessFile#write(byte[], int , int) method's exception order is different from RI's when the byte array is null or the RandomAccessFile is closed .And some testcases are added.
> I will attach a patch to fix this issue.
> 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-1214) [classlib][luni] java.io.RandomAccessFile#write(byte[], int , int) method's exception order is different from RI's

Posted by "Richard Liang (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/HARMONY-1214?page=comments#action_12428855 ] 
            
Richard Liang commented on HARMONY-1214:
----------------------------------------

The fix looks good. Thanks a lot, Mark.

Richard

> [classlib][luni] java.io.RandomAccessFile#write(byte[], int , int) method's exception order is different from RI's
> ------------------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-1214
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1214
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Richard Liang
>         Assigned To: Mark Hindess
>         Attachments: Harmony-1214.diff
>
>
> Hello,
> java.io.RandomAccessFile#write(byte[], int , int) method's exception order is different from RI's when the byte array is null or the RandomAccessFile is closed .And some testcases are added.
> I will attach a patch to fix this issue.
> 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