You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Bryan Duxbury (JIRA)" <ji...@apache.org> on 2008/05/16 02:00:55 UTC
[jira] Assigned: (THRIFT-4) Default values of non-primitive types
aren't copied on new object creation
[ https://issues.apache.org/jira/browse/THRIFT-4?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bryan Duxbury reassigned THRIFT-4:
----------------------------------
Assignee: Bryan Duxbury
> Default values of non-primitive types aren't copied on new object creation
> --------------------------------------------------------------------------
>
> Key: THRIFT-4
> URL: https://issues.apache.org/jira/browse/THRIFT-4
> Project: Thrift
> Issue Type: Bug
> Components: Library (Ruby)
> Reporter: Bryan Duxbury
> Assignee: Bryan Duxbury
> Attachments: equality_and_defaults_release.patch
>
>
> If you create a Thrift type that has a default value for a field, and the default value is non-primitive (a hash, thrift object, array, etc), then all instances of that class share the same default object instead of copies of that object.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.