From: Bryan Duxbury Date: Fri, 15 Jan 2010 17:29:26 +0000 (+0000) Subject: THRIFT-608. java: Option parameter is ignored for one constructors in THsHaServer X-Git-Tag: 0.3.0~138 X-Git-Url: https://source.supwisdom.com/gerrit/gitweb?a=commitdiff_plain;h=62fb2ed1fea45f3193a0b295e5ef7f910a70cd6a;p=common%2Fthrift.git THRIFT-608. java: Option parameter is ignored for one constructors in THsHaServer git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@899723 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/lib/java/src/org/apache/thrift/server/THsHaServer.java b/lib/java/src/org/apache/thrift/server/THsHaServer.java index 8bf096ed..47600f51 100644 --- a/lib/java/src/org/apache/thrift/server/THsHaServer.java +++ b/lib/java/src/org/apache/thrift/server/THsHaServer.java @@ -112,8 +112,11 @@ public class THsHaServer extends TNonblockingServer { TNonblockingServerTransport serverTransport, TProtocolFactory protocolFactory, Options options) { - this(processor, serverTransport, new TFramedTransport.Factory(), - protocolFactory); + this(new TProcessorFactory(processor), serverTransport, + new TFramedTransport.Factory(), + new TFramedTransport.Factory(), + protocolFactory, protocolFactory, + options); } /**