diff options
author | John Sirois <jsirois@apache.org> | 2016-02-08 13:04:36 -0700 |
---|---|---|
committer | Nobuaki Sukegawa <nsuke@apache.org> | 2016-03-18 22:33:38 +0900 |
commit | bd964c7f3460c308161cb6eb90583874a7d8d848 (patch) | |
tree | 9f8518aa4fd7b5bbad898ddbeaf4c0387a91076f /test/DebugProtoTest.thrift | |
parent | a4f96403210566bd1e76fee9b6e40412ff014e0a (diff) | |
download | thrift-bd964c7f3460c308161cb6eb90583874a7d8d848.tar.gz |
THRIFT-3112 [Java] AsyncMethodCallback should be typed in generated AsyncIface
The parametrization brings the existing actual parametrization with
client call implementation objects to the fore and so this change
also fixes that parametrization to be a simple parametrization over
the return type as is done in the server-side AsyncProcessor code.
NB: This is a breaking change in both generated code and the client
libs.
This closes #840
Diffstat (limited to 'test/DebugProtoTest.thrift')
-rw-r--r-- | test/DebugProtoTest.thrift | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/DebugProtoTest.thrift b/test/DebugProtoTest.thrift index 9726d004d..df0fb3086 100644 --- a/test/DebugProtoTest.thrift +++ b/test/DebugProtoTest.thrift @@ -248,6 +248,8 @@ service Srv { void methodWithDefaultArgs(1: i32 something = MYCONST); oneway void onewayMethod(); + + bool declaredExceptionMethod(1: bool shouldThrow) throws (1: ExceptionWithAMap xwamap); } service Inherited extends Srv { |