Recent changes on Java library break Java JSON protocol
-------------------------------------------------------

                 Key: THRIFT-1311
                 URL: https://issues.apache.org/jira/browse/THRIFT-1311
             Project: Thrift
          Issue Type: Bug
          Components: Java - Library
            Reporter: Henrique Mendonca


I see that some people have been working very hard on the Java library and 
that's really appreciated, however, some of the changes seem to have interfered 
with the java server JSON/HTTP implementation which is used to test the JS 
client. Please see below:

thrift/lib/js/test$ ant testserver 
[...]
     [java] New connection thread
     [java] Incoming content: [1,"testSet",1,0,{"1":{"set":["i32",3,1,2,3]}}]
     [java] Outgoing content: Error:Unexpected character:[
     [java] New connection thread
     [java] Incoming content: [1,"testList",1,0,{"1":{"lst":["i32",3,1,2,3]}}]
     [java] Outgoing content: Error:Unexpected character:[

ps.: I hope one day we can automatize these tests with node.js, or something 
like that, so we don't need to run this manually

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to