You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Richard Liang (JIRA)" <ji...@apache.org> on 2006/08/10 16:46:14 UTC
[jira] Updated: (HARMONY-1141) [classlib][luni] Exception throwing
problems in the constructors of java.io.FileInputStream
[ http://issues.apache.org/jira/browse/HARMONY-1141?page=all ]
Richard Liang updated HARMONY-1141:
-----------------------------------
Attachment: Harmony-1141.diff
Hello,
Would you please try this patch?
Best regards,
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
> 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