uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marshall Schor (JIRA)" <...@uima.apache.org>
Subject [jira] [Created] (UIMA-4148) Xmi Deserializing delta cas FsFloatList gets wrong value
Date Tue, 09 Dec 2014 20:47:12 GMT
Marshall Schor created UIMA-4148:
------------------------------------

             Summary: Xmi Deserializing delta cas FsFloatList gets wrong value
                 Key: UIMA-4148
                 URL: https://issues.apache.org/jira/browse/UIMA-4148
             Project: UIMA
          Issue Type: Bug
          Components: Core Java Framework
            Reporter: Marshall Schor
            Assignee: Marshall Schor
             Fix For: 2.7.0SDK


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.



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

Mime
View raw message