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

Xmi Deserializing delta cas FsFloatList gets wrong value

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.7.0SDK
    • Core Java Framework
    • None

    Description

      The code for deserializing the float values in ListUtils in the updateFloatList has 4 spots where it sets the float value into the heap. In 3 of the 4, it forgot to use the CASImpl.float2int method before storing in the heap. The result of this would be to have wrong values (the result of casting a float to an int) stored instead.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: