You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Mathias Herberts (JIRA)" <ji...@apache.org> on 2011/06/29 22:24:28 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=13057449#comment-13057449 ] 

Mathias Herberts commented on THRIFT-1226:
------------------------------------------

What part of the java serialization spec does the code introduced in THRIFT-1038 violate?

> 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
>
> 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