Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-1311

Recent changes on Java library break Java JSON protocol

    XMLWordPrintableJSON

Details

    Description

      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

      Attachments

        Activity

          People

            Unassigned Unassigned
            henrique Henrique Mendonca
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: