harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vladimir Ivanov (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-526) [classlib] unspecified NPE for java.sql.Timestamp.equals(Object) and equals(Timestamp) methods if parameter == null
Date Tue, 30 May 2006 04:10:29 GMT
[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
 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