Tong Li created KAFKA-1988:
------------------------------

             Summary: 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
            Reporter: Tong Li
            Assignee: Tong Li


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