Hi,
We are seeing an issue when a method takes list as in input. The Thrift
compiler 0.9 and 0.9.2 generated Java code in Solaris has an line to
copyBinary results in Java compilation error. have any one else faced
the same issue? Please share if any fix is available.
this.listReasonCodes =
org.apache.thrift.TBaseHelper.copyBinary(other.listEmployees);
- > cannot find symbol [javac] symbol : method
copyBinary(java.util.List<common.datatype.Employee>)
The following is a smaple idl that generates this error.
struct Employee
{
1:string firstName,
2:string lastName,
}
typedef list<Employee> TEmployeeList
TICErrorDescriptionsList saveEmployees(1:RequestContext requestContext,
2:TEmployeeList listEmployees) throws (1:Exceptions.THException hEx)
Thanks
Manoj