You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Jens Geyer (JIRA)" <ji...@apache.org> on 2015/10/18 18:32:05 UTC
[jira] [Created] (THRIFT-3393) Introduce i8 to provide consistent
set of Thrift IDL integer types
Jens Geyer created THRIFT-3393:
----------------------------------
Summary: Introduce i8 to provide consistent set of Thrift IDL integer types
Key: THRIFT-3393
URL: https://issues.apache.org/jira/browse/THRIFT-3393
Project: Thrift
Issue Type: Improvement
Components: Compiler (General)
Reporter: Jens Geyer
Assignee: Jens Geyer
In following up a recent email discussion and the consistent stream of problems with the signedness of the Thrift IDL {{byte}} datatype, we should
* add an {{i8}} data type to provide a consistent set
* keep the {{byte}} type for tghe sake of compatibility
* internally map all references to {{byte}} to {{i8}}
This patch is solely about the changes needed in the IDL and the compiler infrastructure, changing only what's necessary in the various target languages to let {{make check}} succeed. Any additional changes to be made in the language libs should be added as a sub-task as necessary. This procedure allows us to make the changes in a more granular way while still maintaining a shippable product.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)