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 01:36:55 UTC

[jira] Updated: (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 updated THRIFT-4:
-------------------------------

    Component/s: Library (Ruby)

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