[ 
https://issues.apache.org/jira/browse/AVRO-1023?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13214094#comment-13214094
 ] 

Doug Cutting commented on AVRO-1023:
------------------------------------

The way this might be triggered is if a Schema.Parser is reused after a 
SchemaParseException is thrown.  Currently the default namespace is that of the 
preceding schema parsed.  If a SchemaParseException is thrown and the parser is 
reused then the default namespace could be that of a schema nested within the 
previous schema.
                
> Saved state should be restored in finally clause
> ------------------------------------------------
>
>                 Key: AVRO-1023
>                 URL: https://issues.apache.org/jira/browse/AVRO-1023
>             Project: Avro
>          Issue Type: Bug
>          Components: java
>            Reporter: Raymie Stata
>            Assignee: Raymie Stata
>            Priority: Minor
>         Attachments: AVRO-1023.patch
>
>
> Schema.parse(JsonParse) and Schema.parse(JsonNode,Names) save global state in 
> a local variable; they should restore that state in a finally clause but they 
> don't.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to