Opened 3 years ago

Closed 3 years ago

#790 closed defect (fixed)

Wrong octet retrieval in rasj

Reported by: vliaukevich Owned by: vliaukevich
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 Changed 3 years ago by vliaukevich

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.