[
https://issues.apache.org/jira/browse/AVRO-1676?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14711424#comment-14711424
]
Hudson commented on AVRO-1676:
------------------------------
SUCCESS: Integrated in AvroJava #543 (See
[https://builds.apache.org/job/AvroJava/543/])
AVRO-1676. Java: Do not treat enum symbols as immutable when deep copying.
Contributed by Mike Rodriguez. (tomwhite: rev 1697683)
* /avro/trunk/CHANGES.txt
*
/avro/trunk/lang/java/avro/src/main/java/org/apache/avro/generic/GenericData.java
*
/avro/trunk/lang/java/ipc/src/test/java/org/apache/avro/specific/TestSpecificData.java
> Do not treat enum symbols as immutable when deep copying
> --------------------------------------------------------
>
> Key: AVRO-1676
> URL: https://issues.apache.org/jira/browse/AVRO-1676
> Project: Avro
> Issue Type: Bug
> Components: java
> Affects Versions: 1.7.7
> Reporter: Mike Rodriguez
> Assignee: Sean Busbey
> Fix For: 1.8.0
>
> Attachments: AVRO-1676.1.patch
>
>
> Enum types should be supported in GenericData.deepCopy() so that we can
> convert from (in memory) generics records to specifics records.
> Without this fix in place, it is non-trivial to attempt to create specific
> records from generic records if they may happen to have any nested enum data
> types.
> This issue has already been pointed out by Doug Cutting which can be
> referenced at \[1] and \[2].
> In \[2] specifically, Doug proposed the change that would fix this issue.
> \[1]
> https://issues.apache.org/jira/browse/AVRO-1455?focusedCommentId=13899535&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13899535
> \[2]
> http://mail-archives.apache.org/mod_mbox/avro-user/201402.mbox/%3ccaleq1z9skctci0h8rtntyjabdm1hn8yuudtr2ft+czrvhto...@mail.gmail.com%3E
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)