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/05/31 07:04:30 UTC

[jira] Assigned: (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=all ]

Stepan Mishura reassigned HARMONY-526:
--------------------------------------

    Assign To: Stepan Mishura

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