You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Vladimir Strigun (JIRA)" <ji...@apache.org> on 2006/03/31 17:57:44 UTC

[jira] Updated: (HARMONY-285) methods in FileOutputStream and FileInputStream crash VM if use null as parameter for byte array

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

Vladimir Strigun updated HARMONY-285:
-------------------------------------

    Attachment: FileInputStreamTest.java

FileInputStreamTest.java

> methods in FileOutputStream and FileInputStream crash VM if use null as parameter for byte array
> ------------------------------------------------------------------------------------------------
>
>          Key: HARMONY-285
>          URL: http://issues.apache.org/jira/browse/HARMONY-285
>      Project: Harmony
>         Type: Bug
>   Components: Classlib
>     Reporter: Vladimir Strigun
>     Priority: Minor
>  Attachments: FileInputStreamTest.java
>
> VM crash if I use null as parameter for byte array in write(null, 0, 0) method in FileOutputStream and read(null, 0, 0) in FileInputStream, but NullPointerException should occur.
> I'll attach testcases soon.

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