[ 
https://issues.apache.org/jira/browse/AVRO-1342?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dmitry Kovalev updated AVRO-1342:
---------------------------------

    Attachment: AVRO-1342-csharp-ObjectCreator-fix.patch

alternative fix to this issue which doesn't introduce external dependencies and 
also collects the exceptions to report later if required

> ObjectCreator fails if bad assemblies loaded
> --------------------------------------------
>
>                 Key: AVRO-1342
>                 URL: https://issues.apache.org/jira/browse/AVRO-1342
>             Project: Avro
>          Issue Type: Improvement
>          Components: csharp
>    Affects Versions: 1.7.4
>         Environment: Windows, Visual Studio
>            Reporter: David Taylor
>            Priority: Minor
>         Attachments: AVRO-1342-csharp-ObjectCreator-fix.patch, 
> continue-on-exception.diff
>
>
> When iterating over the list of assemblies in ObjectCreator.cs the GetTypes() 
> call can fail with an exception if there is a load error on an assembly.  
> Currently this exception is propagated but really does not need to be.  I 
> think a more reasonable approach is to note the error and then try the next 
> assembly. 



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to