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-526) [classlib] unspecified NPE for java.sql.Timestamp.equals(Object) and equals(Timestamp) methods if parameter == null
Date Wed, 31 May 2006 07:49:30 GMT
     [ http://issues.apache.org/jira/browse/HARMONY-526?page=all ]
     
Stepan Mishura resolved HARMONY-526:
------------------------------------

    Resolution: Fixed

Thanks Vladimir - bug was fixed in SQL module at r410450.

Please check that the fix fully resolves your problem.

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


Mime
View raw message