[
https://issues.apache.org/jira/browse/AVRO-1434?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13868350#comment-13868350
]
Hudson commented on AVRO-1434:
------------------------------
SUCCESS: Integrated in AvroJava #426 (See
[https://builds.apache.org/job/AvroJava/426/])
AVRO-1434. C#: Fix ObjectCreator to be thread safe. Contributed by David
Taylor. (cutting: rev 1557250)
* /avro/trunk/CHANGES.txt
* /avro/trunk/lang/csharp/src/apache/main/Specific/ObjectCreator.cs
> ObjectCreator.cs is not thread safe
> -----------------------------------
>
> Key: AVRO-1434
> URL: https://issues.apache.org/jira/browse/AVRO-1434
> Project: Avro
> Issue Type: Bug
> Components: csharp
> Affects Versions: 1.7.5
> Environment: Windows
> Reporter: David Taylor
> Assignee: David Taylor
> Fix For: 1.7.6
>
> Attachments: ObjectCreator.cs.diff
>
>
> Public methods ObjectCreator.GetType() assign to shared fields without locks.
> This causes unpredictable behaviour in a multi-threaded application. The
> easiest fix is to simply remove the shared variables as they appear to exist
> as a potential performance improvement but constructing local variables seems
> to add no significant overhead.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)