harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roman S. Bushmanov (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-4188) [classlib][util] java.util.jar.Attributes.Name.hashCode() returns the same value for any object
Date Fri, 15 Jun 2007 12:54:26 GMT
[classlib][util] java.util.jar.Attributes.Name.hashCode() returns the same value for any object
-----------------------------------------------------------------------------------------------

                 Key: HARMONY-4188
                 URL: https://issues.apache.org/jira/browse/HARMONY-4188
             Project: Harmony
          Issue Type: Bug
          Components: Classlib
            Reporter: Roman S. Bushmanov


The following code returns the same value for any object:

public int hashCode() {
            if (hashCode == 0) {
                hashCode = Util.toASCIILowerCase("name").hashCode();
            }
            return hashCode;
}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message