harmony-commits mailing list archives

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

     [ https://issues.apache.org/jira/browse/HARMONY-4188?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Oliver Deakin reassigned HARMONY-4188:
--------------------------------------

    Assignee: Oliver Deakin

> [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
>            Assignee: Oliver Deakin
>         Attachments: HARMONY-4188.diff
>
>
> 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