You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/03/14 19:31:33 UTC
[jira] [Commented] (THRIFT-3743) Java JSON protocol left in
incorrect state when an exception is thrown during read or write operations
[ https://issues.apache.org/jira/browse/THRIFT-3743?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15193843#comment-15193843 ]
ASF GitHub Bot commented on THRIFT-3743:
----------------------------------------
GitHub user tylertreat-wf opened a pull request:
https://github.com/apache/thrift/pull/947
THRIFT-3743 Java JSON protocol left in incorrect state when an exception is thrown during read or write operations
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.
@stevenosborne-wf
@markerickson-wf
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/tylertreat-wf/thrift THRIFT-3743
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/thrift/pull/947.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #947
----
commit b1e28acadfcc3ce2b1324744ebce1ad731503dd4
Author: Tyler Treat <ty...@webfilings.com>
Date: 2016-03-14T18:27:54Z
THRIFT-3743 Java JSON protocol left in incorrect state when an exception is thrown during read or write operations
----
> 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)