[ 
https://issues.apache.org/jira/browse/THRIFT-1226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13057669#comment-13057669
 ] 

ojciec pijo commented on THRIFT-1226:
-------------------------------------

I perfectly understand that thrift serialization is different than 'default' 
one, which is fine, and always was. the problem is that prior to ver6, default 
java serialization wasn't affected. Since this is breaking change for systems 
that relayed on this feature, it would be good to see some 'backward 
compatibility' option - e.g. possibility to disable this improvement via 
command line parameter.

> 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

        

Reply via email to