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.

Change History (1)

comment:1 by Veranika Liaukevich, 10 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.