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