Ravid Thank you for looking into this issue and the patch. Can you please create an issues in our ticketing system, jira, and attach the patch to a new issue there. Details on this process are available at http://thrift.apache.org/docs/HowToContribute/ . If you have any questions please let us know
Appreciate the help Thanks -Jake On Fri, Aug 16, 2013 at 7:01 AM, Ravid Rosen-Tal <[email protected]>wrote: > Hello, > > I've been using thrift for a while now to communicate between java backend > and flash front-end. Recently I found an issue with the compiler with > serialisation of structs with un-set optional fields. The generated 'write' > method would not look at the __isset flag for optional fields, and instead > would explicitly write all fields, causing issues in validation when > structs are deserialized. > > The attached file is a suggest fix, inspired from the t_java_generator > class. > > Please consider adding this fix to the next build. > > Thanks, > Ravid > > > >
