You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "George Harley (JIRA)" <ji...@apache.org> on 2006/04/10 20:34:58 UTC

[jira] Resolved: (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 ]
     
George Harley resolved HARMONY-285:
-----------------------------------

    Resolution: Fixed

Hi Vladimir, 

Changes committed in revision 393019. Thank you for finding these problems and for supplying the fix.

Please could you check that your changes have been applied as expected. 

Best regards, 
George

> 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
>     Assignee: George Harley
>     Priority: Minor
>  Attachments: FileInputStreamTest.java, FileOutputStreamTest.java, Harmony-285.txt
>
> 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