You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Roman S. Bushmanov (JIRA)" <ji...@apache.org> on 2007/06/15 14:56:26 UTC

[jira] Updated: (HARMONY-4188) [classlib][util] java.util.jar.Attributes.Name.hashCode() returns the same value for any object

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

Roman S. Bushmanov updated HARMONY-4188:
----------------------------------------

    Attachment: HARMONY-4188.diff

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