harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard Liang (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-1141) [classlib][luni] Exception throwing problems in the constructors of java.io.FileInputStream
Date Mon, 14 Aug 2006 07:12:16 GMT
    [ http://issues.apache.org/jira/browse/HARMONY-1141?page=comments#action_12427823 ] 
Richard Liang commented on HARMONY-1141:

Thanks a lot, Paulex. The fix looks fine


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


View raw message