You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Vladimir Ivanov (JIRA)" <ji...@apache.org> on 2006/05/31 12:18:33 UTC

[jira] Commented: (HARMONY-526) [classlib] unspecified NPE for java.sql.Timestamp.equals(Object) and equals(Timestamp) methods if parameter == null

    [ http://issues.apache.org/jira/browse/HARMONY-526?page=comments#action_12414021 ] 

Vladimir Ivanov commented on HARMONY-526:
-----------------------------------------

Verified for 410484. Thanks.

> [classlib] unspecified NPE for java.sql.Timestamp.equals(Object) and equals(Timestamp) methods if parameter == null
> -------------------------------------------------------------------------------------------------------------------
>
>          Key: HARMONY-526
>          URL: http://issues.apache.org/jira/browse/HARMONY-526
>      Project: Harmony
>         Type: Bug

>   Components: Classlib
>     Reporter: Vladimir Ivanov
>     Assignee: Stepan Mishura
>  Attachments: TimeStamp.patch
>
> Harmony throws unspecified NPE for java.sql.Timestamp.equals(Object) and equals(Timestamp) methods if parameter == null while RI returns false.
> The contract for base Object.equals(Object obj) method is:
> "For any non-null reference value x, x.equals(null) should return false."

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