thrift-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Manoj Gangadharan <manoj.gangadha...@oracle.com>
Subject Java code generation - Solaris
Date Tue, 19 May 2015 16:35:43 GMT
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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message