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