[ 
https://issues.apache.org/jira/browse/KAFKA-1988?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14359676#comment-14359676
 ] 

Tong Li commented on KAFKA-1988:
--------------------------------



I thought this one was merged. Please let me know what I need to do with
it?

Thanks

Sent from my iPhone

wrote:
[ 
https://issues.apache.org/jira/browse/KAFKA-1988?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14359229#comment-14359229
 ]

negative numbers.
----------------------------------------------------------------------------------------

KAFKA-1988.patch, KAFKA-1988_2015-03-03_19:00:21.patch,
KAFKA-1988_2015-03-03_19:03:31.patch
negative numbers. The method only returns intended value for positive
numbers. All negative numbers except the Integer.Min_Value will be returned
an unsigned integer.


> org.apache.kafka.common.utils.Utils.abs method returns wrong value for 
> negative numbers.
> ----------------------------------------------------------------------------------------
>
>                 Key: KAFKA-1988
>                 URL: https://issues.apache.org/jira/browse/KAFKA-1988
>             Project: Kafka
>          Issue Type: Bug
>    Affects Versions: 0.8.2.0
>            Reporter: Tong Li
>            Assignee: Tong Li
>            Priority: Blocker
>             Fix For: 0.8.3
>
>         Attachments: KAFKA-1988.patch, KAFKA-1988.patch, KAFKA-1988.patch, 
> KAFKA-1988_2015-03-03_19:00:21.patch, KAFKA-1988_2015-03-03_19:03:31.patch
>
>
> org.apache.kafka.common.utils.Utils.abs method returns wrong value for 
> negative numbers. The method only returns intended value for positive 
> numbers. All negative numbers except the Integer.Min_Value will be returned 
> an unsigned integer.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to