You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "ojciec pijo (JIRA)" <ji...@apache.org> on 2011/06/30 00:04:29 UTC
[jira] [Updated] (THRIFT-1226) command line option to disable
overriding java serialization
[ https://issues.apache.org/jira/browse/THRIFT-1226?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ojciec pijo updated THRIFT-1226:
--------------------------------
Attachment: testcase.zip
unit test that shows difference between v5 and v6
> 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