Math.abs returns a negative number very occasionally, causing NameClient in
jVinci to fail
------------------------------------------------------------------------------------------
Key: UIMA-286
URL: https://issues.apache.org/jira/browse/UIMA-286
Project: UIMA
Issue Type: Bug
Affects Versions: 2.1
Reporter: Marshall Schor
Assigned To: Marshall Schor
Priority: Trivial
NameClient class in jVinci has faulty use of Math.abs(an-integer) - it presumes
this returns a positive or 0 integer. However, the Java impl of this when
given the integer Integer.MIN_VALUE, returns the negative number MIN_VALUE.
Found by Findbugs.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.