[
https://issues.apache.org/jira/browse/THRIFT-1226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13057996#comment-13057996
]
Bryan Duxbury commented on THRIFT-1226:
---------------------------------------
I agree with Mathias that I'd prefer not to commit a patch that allows the
generation of buggy serialization. I would rather see a patch that makes it
easy to collapse the object graph down again after you complete deserialization.
> command line option to disable overriding java serialization
> ------------------------------------------------------------
>
> Key: THRIFT-1226
> URL: https://issues.apache.org/jira/browse/THRIFT-1226
> Project: Thrift
> Issue Type: Improvement
> Components: Java - Compiler
> Affects Versions: 0.6, 0.6.1
> Reporter: ojciec pijo
> Attachments: testcase.zip
>
>
> bugfix THRIFT-1038 is a breaking change since it overrides default java
> serialization mechanism. as a result, objects generated by Thrift v6 are not
> compatible with java serialization rules (references between objects are lost
> after deserialization). Please provide a command line parameter to disable
> generating readObject/writeObject as a workaround.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira