Opened 10 years ago
Closed 10 years ago
#790 closed defect (fixed)
Wrong octet retrieval in rasj
Reported by: | Veranika Liaukevich | Owned by: | Veranika Liaukevich |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | java | Version: | development |
Keywords: | Cc: | ||
Complexity: | Easy |
Description
Java client library incorrectly parses octet (signed byte) values:
OQLQuery q = impl.newOQLQuery(); q.create("select -127o"); DBag bag = (DBag) q.execute(); for (Object o: bag) { System.out.println(o); }
Such code snippet outputs 129
instead of -127
.
Note:
See TracTickets
for help on using tickets.
Fixed in changeset:40c73dad90df75a3d59c634b32678f51018dda02