harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stepan Mishura (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (HARMONY-238) java.util.Date(null) should throw IllegalArgumentException not NullPointerException
Date Wed, 19 Apr 2006 05:27:17 GMT
     [ 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:
For more information on JIRA, see:

View raw message