You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Bryan Duxbury (JIRA)" <ji...@apache.org> on 2011/09/01 23:28:10 UTC

[jira] [Commented] (THRIFT-1311) Recent changes on Java library break Java JSON protocol

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

Bryan Duxbury commented on THRIFT-1311:
---------------------------------------

I just committed a fix to the Java serialization framework. Can you test again and see if the problem is solved?

> 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
>              Labels: java, javascript, qunit
>
> 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