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

[jira] Closed: (HARMONY-1141) [classlib][luni] Exception throwing problems in the constructors of java.io.FileInputStream

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

Paulex Yang closed HARMONY-1141.
--------------------------------


Verified by Richard.

> [classlib][luni] Exception throwing problems in the constructors of java.io.FileInputStream
> -------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-1141
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1141
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Richard Liang
>         Assigned To: Paulex Yang
>            Priority: Minor
>         Attachments: Harmony-1141.diff
>
>
> Hello,
> the constructor FileInputStream(File file),FileInputStream(String name) will throw an NullPointerException when the parameter is null and a security manager exists. Harmony should throw a SecurityException, but it throws an NullPointerException. 
> I will try to attach a patch to fix this issue. Thanks a lot.
> 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