You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Svetlana Samoilenko (JIRA)" <ji...@apache.org> on 2006/05/03 14:08:02 UTC

[jira] Created: (HARMONY-437) [classlib] java.io.FileOutputStream.write(byte[] b,int off,int len) does not throw IndexOutOfBoundsException

[classlib] java.io.FileOutputStream.write(byte[] b,int off,int len) does not throw IndexOutOfBoundsException
------------------------------------------------------------------------------------------------------------

         Key: HARMONY-437
         URL: http://issues.apache.org/jira/browse/HARMONY-437
     Project: Harmony
        Type: Bug

  Components: Classlib  
    Reporter: Svetlana Samoilenko
    Priority: Minor


java.io.FileOutputStream.write(byte[] b,int off,int len) does not throw IndexOutOfBoundsException while RI does.
Also NullPointerException is expected when b==null.

-- 
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-437) [classlib] java.io.FileOutputStream.write(byte[] b,int off,int len) does not throw IndexOutOfBoundsException

Posted by "Svetlana Samoilenko (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/HARMONY-437?page=comments#action_12378183 ] 

Svetlana Samoilenko commented on HARMONY-437:
---------------------------------------------

Mikhail, thank you.
The fix works fine for me..

> [classlib] java.io.FileOutputStream.write(byte[] b,int off,int len) does not throw IndexOutOfBoundsException
> ------------------------------------------------------------------------------------------------------------
>
>          Key: HARMONY-437
>          URL: http://issues.apache.org/jira/browse/HARMONY-437
>      Project: Harmony
>         Type: Bug

>   Components: Classlib
>     Reporter: Svetlana Samoilenko
>     Assignee: Mikhail Loenko
>     Priority: Minor
>  Attachments: FileOutputStream.diffs
>
> java.io.FileOutputStream.write(byte[] b,int off,int len) does not throw IndexOutOfBoundsException while RI does.
> Also NullPointerException is expected when b==null.

-- 
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-437) [classlib] java.io.FileOutputStream.write(byte[] b,int off,int len) does not throw IndexOutOfBoundsException

Posted by "Mikhail Loenko (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-437?page=all ]
     
Mikhail Loenko closed HARMONY-437:
----------------------------------


verified by Svetlana

> [classlib] java.io.FileOutputStream.write(byte[] b,int off,int len) does not throw IndexOutOfBoundsException
> ------------------------------------------------------------------------------------------------------------
>
>          Key: HARMONY-437
>          URL: http://issues.apache.org/jira/browse/HARMONY-437
>      Project: Harmony
>         Type: Bug

>   Components: Classlib
>     Reporter: Svetlana Samoilenko
>     Assignee: Mikhail Loenko
>     Priority: Minor
>  Attachments: FileOutputStream.diffs
>
> java.io.FileOutputStream.write(byte[] b,int off,int len) does not throw IndexOutOfBoundsException while RI does.
> Also NullPointerException is expected when b==null.

-- 
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-437) [classlib] java.io.FileOutputStream.write(byte[] b,int off,int len) does not throw IndexOutOfBoundsException

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

Mikhail Loenko reassigned HARMONY-437:
--------------------------------------

    Assign To: Mikhail Loenko

> [classlib] java.io.FileOutputStream.write(byte[] b,int off,int len) does not throw IndexOutOfBoundsException
> ------------------------------------------------------------------------------------------------------------
>
>          Key: HARMONY-437
>          URL: http://issues.apache.org/jira/browse/HARMONY-437
>      Project: Harmony
>         Type: Bug

>   Components: Classlib
>     Reporter: Svetlana Samoilenko
>     Assignee: Mikhail Loenko
>     Priority: Minor
>  Attachments: FileOutputStream.diffs
>
> java.io.FileOutputStream.write(byte[] b,int off,int len) does not throw IndexOutOfBoundsException while RI does.
> Also NullPointerException is expected when b==null.

-- 
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-437) [classlib] java.io.FileOutputStream.write(byte[] b,int off,int len) does not throw IndexOutOfBoundsException

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

Svetlana Samoilenko updated HARMONY-437:
----------------------------------------

    Attachment: FileOutputStream.diffs

patch anf unit test

> [classlib] java.io.FileOutputStream.write(byte[] b,int off,int len) does not throw IndexOutOfBoundsException
> ------------------------------------------------------------------------------------------------------------
>
>          Key: HARMONY-437
>          URL: http://issues.apache.org/jira/browse/HARMONY-437
>      Project: Harmony
>         Type: Bug

>   Components: Classlib
>     Reporter: Svetlana Samoilenko
>     Priority: Minor
>  Attachments: FileOutputStream.diffs
>
> java.io.FileOutputStream.write(byte[] b,int off,int len) does not throw IndexOutOfBoundsException while RI does.
> Also NullPointerException is expected when b==null.

-- 
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-437) [classlib] java.io.FileOutputStream.write(byte[] b,int off,int len) does not throw IndexOutOfBoundsException

Posted by "Mikhail Loenko (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-437?page=all ]
     
Mikhail Loenko resolved HARMONY-437:
------------------------------------

    Resolution: Fixed

fixed in revision 399997
Svetlana, please verify it resolves the issue

> [classlib] java.io.FileOutputStream.write(byte[] b,int off,int len) does not throw IndexOutOfBoundsException
> ------------------------------------------------------------------------------------------------------------
>
>          Key: HARMONY-437
>          URL: http://issues.apache.org/jira/browse/HARMONY-437
>      Project: Harmony
>         Type: Bug

>   Components: Classlib
>     Reporter: Svetlana Samoilenko
>     Assignee: Mikhail Loenko
>     Priority: Minor
>  Attachments: FileOutputStream.diffs
>
> java.io.FileOutputStream.write(byte[] b,int off,int len) does not throw IndexOutOfBoundsException while RI does.
> Also NullPointerException is expected when b==null.

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