Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.9.2, 0.9.3
-
None
Description
AsyncMethodCallback is generic, but current Java code generator is not adding type info to it, and instead of:
public interface AsyncIface { public void ping(org.apache.thrift.async.AsyncMethodCallback<String> resultHandler) throws org.apache.thrift.TException; }
we have:
public interface AsyncIface { public void ping(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; }
Attachments
Issue Links
- blocks
-
THRIFT-3583 Add support for generating immutable java stubs for structs and unions
- Open
- depends upon
-
THRIFT-1972 Add support for async processors
- Closed
- is related to
-
THRIFT-2157 generated code would cause ClassCastException
- Closed
- relates to
-
THRIFT-3312 Why java async client not use Future<V> as result?
- Open
- links to