This commit is contained in:
Redkale
2016-07-02 16:58:19 +08:00
parent a98d5f32a1
commit f82becfe62

View File

@@ -91,7 +91,6 @@ public final class SncpDynServlet extends SncpServlet {
return sb.toString(); return sb.toString();
} }
@Override @Override
public DLong getServiceid() { public DLong getServiceid() {
return serviceid; return serviceid;
@@ -162,14 +161,14 @@ public final class SncpDynServlet extends SncpServlet {
* <blockquote><pre> * <blockquote><pre>
* public class TestService implements Service { * public class TestService implements Service {
* public boolean change(TestBean bean, String name, int id) { * public boolean change(TestBean bean, String name, int id) {
* * <p>
* } * }
* } * }
* * <p>
* public class DynActionTestService_change extends SncpServletAction { * public class DynActionTestService_change extends SncpServletAction {
* * <p>
* public TestService service; * public TestService service;
* * <p>
* &#64;Override * &#64;Override
* public void action(final BsonReader in, final BsonWriter out) throws Throwable { * public void action(final BsonReader in, final BsonWriter out) throws Throwable {
* TestBean arg1 = convert.convertFrom(paramTypes[1], in); * TestBean arg1 = convert.convertFrom(paramTypes[1], in);
@@ -185,6 +184,7 @@ public final class SncpDynServlet extends SncpServlet {
* @param service Service * @param service Service
* @param actionid 操作ID * @param actionid 操作ID
* @param method 方法 * @param method 方法
*
* @return SncpServletAction * @return SncpServletAction
*/ */
@SuppressWarnings("unchecked") @SuppressWarnings("unchecked")
@@ -373,7 +373,7 @@ public final class SncpDynServlet extends SncpServlet {
store++; store++;
if (maxStack < 10) maxStack = 10; if (maxStack < 10) maxStack = 10;
} }
mv.visitMaxs(maxStack, store); mv.visitMaxs(maxStack + 10, store + 10);
mv.visitEnd(); mv.visitEnd();
} }
cw.visitEnd(); cw.visitEnd();