You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Stepan Mishura (JIRA)" <ji...@apache.org> on 2006/04/19 07:27:17 UTC

[jira] Resolved: (HARMONY-238) java.util.Date(null) should throw IllegalArgumentException not NullPointerException

     [ http://issues.apache.org/jira/browse/HARMONY-238?page=all ]
     
Stepan Mishura resolved HARMONY-238:
------------------------------------

    Resolution: Fixed

Mark, I've added regression test only - this issue was fixed by fixing HARMONY-259 (so I think that there is no need in checking parameter in Date(String) constructor for null value.)

Regression test was added to LUNI module at repo revision 395134.

Please check that fix for HARMONY-259 resolves this issue too.

> java.util.Date(null) should throw IllegalArgumentException not NullPointerException
> -----------------------------------------------------------------------------------
>
>          Key: HARMONY-238
>          URL: http://issues.apache.org/jira/browse/HARMONY-238
>      Project: Harmony
>         Type: Bug

>   Components: Classlib
>     Reporter: Mark Hindess
>     Assignee: Stepan Mishura
>     Priority: Trivial
>  Attachments: date.npe.diff
>
> RI (1.5.0_06) throws an IllegalArgumentException when the Date(String) constructor is called with null argument but Harmony throws a NullPointerException.

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