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/04/10 21:12:24 UTC

[jira] Commented: (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=comments#action_12373919 ] 

Vladimir Strigun commented on HARMONY-285:
------------------------------------------

Thanks George,

Fix applied as expected, but unfortunately there are no new lines at the end of test files. Looks like I've missed it when attached files to JIRA. Could you please add it? 

Thanks!

> 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