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 <[email protected]>
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
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---