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

Iris Scholer closed CODEC-302.
------------------------------
    Resolution: Not A Bug

Once converted to an unsigned string the int hash works fine.

> MurmurHash2.hash32 can return negative
> --------------------------------------
>
>                 Key: CODEC-302
>                 URL: https://issues.apache.org/jira/browse/CODEC-302
>             Project: Commons Codec
>          Issue Type: Bug
>    Affects Versions: 1.15
>            Reporter: Iris Scholer
>            Priority: Major
>         Attachments: MurmurTest.java, test-screenshot.png
>
>
> When running hash32, many values return a negative hash. Since the original 
> implementation used unsigned values, this is unintended behavior and breaks 
> compatibility with other implementations.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to