Uploaded image for project: 'UIMA'
  1. UIMA
  2. UIMA-286

Math.abs returns a negative number very occasionally, causing NameClient in jVinci to fail

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 2.1
    • 2.1
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

            schor Marshall Schor
            schor Marshall Schor
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: