[ https://issues.apache.org/jira/browse/THRIFT-3743?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15193992#comment-15193992 ]
ASF GitHub Bot commented on THRIFT-3743: ---------------------------------------- Github user markerickson-wf commented on the pull request: https://github.com/apache/thrift/pull/947#issuecomment-196488416 +1 We do something similar in Dart, for what it's worth - https://github.com/apache/thrift/blob/master/lib/dart/lib/src/protocol/t_json_protocol.dart#L187 > Java JSON protocol left in incorrect state when an exception is thrown during > read or write operations > ------------------------------------------------------------------------------------------------------ > > Key: THRIFT-3743 > URL: https://issues.apache.org/jira/browse/THRIFT-3743 > Project: Thrift > Issue Type: Bug > Components: Java - Library > Reporter: Tyler Treat > > This is the same issue as THRIFT-1473 (Delphi) and THRIFT-3735 (Go) but for > the Java library. > The JSON context stack may be left in an incorrect state when an exception is > thrown during read or write operations. This leads to further errors while > writing/reading the NEXT message, because incorrect characters may be written > or expected. -- This message was sent by Atlassian JIRA (v6.3.4#6332)