Permalink
Browse files

Merge branch 'bytebuffer'

  • Loading branch information...
2 parents 58b7c8f + 5e0a498 commit cf5420606e19966e2b1cf3786ac0d52e795e42ed Robey Pointer committed May 30, 2012
@@ -8,6 +8,7 @@
import com.twitter.util.Future;
import com.twitter.util.FutureEventListener;
import java.net.InetSocketAddress;
+import java.nio.ByteBuffer;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
@@ -5,6 +5,7 @@ import com.twitter.finagle.SourcedException
import com.twitter.scrooge.{ThriftStruct, ThriftStructCodec}
import com.twitter.util.Future
import java.net.InetSocketAddress
+import java.nio.ByteBuffer
import org.apache.thrift.protocol._
import org.apache.thrift.TApplicationException
import scala.collection.mutable
@@ -0,0 +1,6 @@
+namespace java thrift.test
+
+// this service will blow up during compile unless "binary" types work.
+service BinaryService {
+ binary fetchBlob(1: i64 id)
+}

0 comments on commit cf54206

Please sign in to comment.